远程推送控制台提示Add “Remote-notification”…解决方案
做推送的童鞋可能会遇到这样的问题,控制台会打印一句话:
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.
解决办法:
这个时候再去看看Info.plist文件:
再次运行,问题就解决啦!
本文出处刚刚在线:http://www.superqq.com/blog/2015/11/12/remote-notification-error/
时间: 2024-12-29 04:02:54