提示You've implemented -[ application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
解决办法如下:
PORJECT --> Capabilities --> Background Modes --> Background fetch & Remote notifications -->选中为on 状态

网友评论