zoukankan      html  css  js  c++  java
  • You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgrou

     

    集成极光推送,运行后有一个打印信息:

    **[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 状态

  • 相关阅读:
    idea 编程字体推荐
    推荐!国外程序员整理的系统管理员资源大全
    jquery阻止事件冒泡的3种方式
    web前端打印总结
    前端打印插件
    object实现小老鼠交互
    前端性能优化(DOM篇)
    输入框获得焦点时外边框颜色改变
    webstorm配置scss自动编译路径
    微信开发测试号配置
  • 原文地址:https://www.cnblogs.com/LiLihongqiang/p/7001066.html
Copyright © 2011-2022 走看看