在用信鸽推送的时候报了:
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.
解决办法:
如下图所示,勾选Remote Notifications就好了