我是靠谱客的博主 整齐犀牛,这篇文章主要介绍[objective-c]推送警告处理,现在分享给大家,希望可以做个参考。

在使用iOS推送时,出现下面错误:

**[1412:60b] You've implemented -[<UIApplicationDelegate> application:performFetchWithCompletionHandler:], but you still need to
add "fetch" to the list of your supported UIBackgroundModes in your Info.plist.
**[1412:60b] You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:],
 but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
解决方法:PORJECT --> Capabilities --> Background Modes --> Background fetch & Remote notifications -->选中为on 状态

最后

以上就是整齐犀牛最近收集整理的关于[objective-c]推送警告处理的全部内容,更多相关[objective-c]推送警告处理内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(127)

评论列表共有 0 条评论

立即
投稿
返回
顶部