Remote-notification

远程推送控制台提示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.

解决办法:

error1

这个时候再去看看Info.plist文件:

error2

再次运行,问题就解决啦!

 

本文出处刚刚在线:http://www.superqq.com/blog/2015/11/12/remote-notification-error/

posted @ 2016-02-17 19:16  自己的心灵猎手  阅读(414)  评论(0编辑  收藏  举报