問(wèn)題描述:
You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
解決辦法:
如圖Capablilties->Background Modes->Remote Notifications

Paste_Image.png