当前位置: 代码迷 >> 综合 >> add remote-notification to the list of your supported UIBackgroundModes in your Info.plist.
  详细解决方案

add remote-notification to the list of your supported UIBackgroundModes in your Info.plist.

热度:89   发布时间:2023-12-11 14:09:34.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

  相关解决方案