极光推送编译遇到you still need to add "remote-notification" to the list of your supported UIBackgroundModes

       本人根据极光推送官网的相关文档及步骤最好了极光推送这一功能,在网页上发送通知消息真机上也能正常接收到通知的消息,但是有个地方让我很不爽,就是每次编译的时候控制台老是有个信息打印出来:极光推送[1364:724998] 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.

       虽然推送能正常运行,但是看到控制台上的这条信息输出我就觉得应该还是哪里有问题,怎么去解决呢?我们可以看到这条信息里面有个很关键的词:UIBackgroundModes,于是。。。请看图极光推送编译遇到you still need to add


完成后就不会再有那条信息打印出来了!

你可能感兴趣的:(iOS,OC,极光推送,iOS,开发人员)