首页 > 其他 > 详细

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

时间:2015-05-05 18:20:51      阅读:516      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!