问题描述:
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
![](https://img.haomeiwen.com/i670033/245c10a0de1d1ddc.png)
网友评论