add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
2015-02-12 08:46
691 查看
在使用个推时出现这个错误 [<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
找了下资料,解决方法也很简单,如下图:
![](http://img.blog.csdn.net/20141217201846703?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvcXVhbnFpbnlhbmc=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center)
这时你在打开plist文件会看到
![](http://img.blog.csdn.net/20141217202222546?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvcXVhbnFpbnlhbmc=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center)
这时你在去运行程序就不会有这个错误提示了。
参考:http://stackoverflow.com/questions/20009006/parse-warning-from-didreceiveremotenotificationfetchcompletionhandler
找了下资料,解决方法也很简单,如下图:
这时你在打开plist文件会看到
这时你在去运行程序就不会有这个错误提示了。
参考:http://stackoverflow.com/questions/20009006/parse-warning-from-didreceiveremotenotificationfetchcompletionhandler
相关文章推荐
- add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
- NT_iOS笔记—add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plis
- add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.(转载)
- 极光推送编译遇到you still need to add "remote-notification" to the list of your supported UIBackgroundModes
- iOS通知 you still need to add "remote-notification" to the list of your supported UIBackgroundModes
- iOS推送警告but you still need to add "remote-notification" to the list of your supported UIBackgroundMod
- You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgrou
- IOS 推送警告but you still need to add "remote-notification" to the list of ....
- Your project is not referencing the ".NETPortable,Version=v4.5,Profile=Profile259" framework. Add a reference to ".NETPortable,Version=v4.5,Profile=Profile259" in the "frameworks" section of your proj
- Your app declares support for audio in the UIBackgroundModes key in your Info.plist 错误
- Problems during startup. Check the".log" file in "metadata" of your workspace.
- R12: How to add Microsoft Excel as Type to the Create Template List of Values in BI Publisher (Doc ID 1343225.1)
- iOS iOS8中 问题"registerForRemoteNotificationTypes: is not supported in iOS 8.0 and later" 解决方式
- xxxx.accessor: The reference to 'xxxx' was not found in the list of this projects references
- run "mysqld --verbose --help" to list mysqld startup options in the command line
- The value of CFBundleShortVersionString in your WatchKit app's Info.plist (1.0) does not match
- github安装问题解决"Unable to retrieve your user info from the server"
- iOS iOS8中 问题"registerForRemoteNotificationTypes: is not supported in iOS 8.0 and later" 解决方案
- 92 Examine the output of the query that you executed to list the objects in the recycle bin: SQL> SE
- Give a very good method to count the number of ones in a "n" (e.g. 32) bit number.