iOS 推送求解

b0339f16f2cc04dbff24
2018-11-23 01:38 1k 0

应用在后台运行时,iOS 开发环境在极光平台上设置content-aviable推送后 可以调用 func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) 方法,但是在服务端推送过来的消息可以收到消息,不掉用此方法 求解决

2个回答

热门排序