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
翻译 你已经实现了——(< UIApplicationDelegate >应用程序:didReceiveRemoteNotification:fetchCompletionHandler:],但你仍然需要添加“remote-notification”你的支持UIBackgroundModes Info.plist列表
解决方法:PORJECT --> Capabilities --> Background Modes --> Background fetch & Remote notifications -->选中为on 状态

网友评论