美文网首页
在使用iOS推送时,出现下面错误:

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

作者: 超人_22 | 来源:发表于2017-11-15 16:10 被阅读0次

提示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.

解决办法如下:

PORJECT --> Capabilities --> Background Modes --> Background fetch & Remote notifications -->选中为on 状态

相关文章

网友评论

      本文标题:在使用iOS推送时,出现下面错误:

      本文链接:https://www.haomeiwen.com/subject/wwqhvxtx.html