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

  • 相关阅读:
    iOS开发中常见错误总结(1)
    iOS开发——OC篇&纯代码退出键盘
    获取下拉框
    @RequestBody 注解
    form 表单提交
    数据库excel导出
    状态模式
    图书网上商城实现(一)
    MongoDB(一)—— 搭建环境和启动服务
    MySQL开发遇到的问题
  • 原文地址:https://www.cnblogs.com/LiLihongqiang/p/7001066.html
Copyright © 2011-2022 走看看