源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

使用iOS推送时警告错误的解决方法

  • 时间:2020-05-17 06:44 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:使用iOS推送时警告错误的解决方法
在使用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. 


[b] 解决方法:[/b]PORJECT --> Capabilities --> Background Modes --> Background fetch & Remote notifications -->选中为on 状态 我还遇到一种情况    [b]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.  [/b] 破解方法还 和上面是一样的,如图 [img]http://files.jb51.net/file_images/article/201609/2016921140900355.jpg?201682114910[/img] 以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持编程素材网。
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部