摘要: 首先开启后台任务 使用设置后台任务触发的时机 application.setMinimumBackgroundFetchInterval(UIApplication.backgroundFetchIntervalMinimum) func application(_ application: UIA 阅读全文
posted @ 2019-06-29 09:18 荣超 阅读(309) 评论(0) 推荐(0)
摘要: pod 'Alamofire' import Alamofire let headers:HTTPHeaders = [ "aa":"bb" ] let parameters = [ "name":"test" ] request(url, method: .get, parameters: par 阅读全文
posted @ 2019-06-29 09:17 荣超 阅读(355) 评论(0) 推荐(0)