0

在我的构建中,我没有使用UNUserNotificationCenter.h类来处理应用程序中的通知。

我正在使用旧方法。

(void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo
fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler {

 // handling notification with this method.

}

iOS 10.0.2无法处理通知并且一切iOS 10.2正常。

xcode version 8.1.

4

0 回答 0