极光推送警告错误的解决方法

2017-10-11  本文已影响0人  天序C

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

翻译    你已经实现了——(< UIApplicationDelegate >应用程序:didReceiveRemoteNotification:fetchCompletionHandler:],但你仍然需要添加“remote-notification”你的支持UIBackgroundModes Info.plist列表

解决方法:PORJECT --> Capabilities --> Background Modes --> Background fetch & Remote notifications -->选中为on 状态

上一篇下一篇

猜你喜欢

热点阅读