码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2015-05-05 18:21:22      阅读:145      评论:0      收藏:0      [点我收藏+]

标签:

在使用个推时出现这个错误 [<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

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

标签:

原文地址:http://www.cnblogs.com/chen124/p/4479305.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!