您的位置:首页 > 产品设计 > UI/UE

add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.(转载)

2015-05-05 15:39 666 查看
在使用个推时出现这个错误 [<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.

找了下资料,解决方法也很简单,如下图:






这时你在打开plist文件会看到






这时你在去运行程序就不会有这个错误提示了。

参考:http://stackoverflow.com/questions/20009006/parse-warning-from-didreceiveremotenotificationfetchcompletionhandler
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐