推送警告处理--备用
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了推送警告处理--备用相关的知识,希望对你有一定的参考价值。
在使用ios推送时,出现下面错误:
解决方法:PORJECT --> Capabilities --> Background Modes --> Background fetch & Remote notifications -->选中为on 状态
- **[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.
我还遇到一种情况
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.
破解方法还 和上面 是一样的
以上是关于推送警告处理--备用的主要内容,如果未能解决你的问题,请参考以下文章
Xcode8:"subsystem: com.apple.UIKit, category: HIDEventFiltered, enable_level: 0" 的警告(代码片段