美文网首页
application:didReceiveRemoteNot

application:didReceiveRemoteNot

作者: dymost | 来源:发表于2017-01-12 18:28 被阅读166次
  • 苹果文档

Use this method to process incoming remote notifications for your app. Unlike the application:didReceiveRemoteNotification: method, which is called only when your app is running in the foreground, the system calls this method when your app is running in the foreground or background. In addition, if you enabled the remote notifications background mode, the system launches your app (or wakes it from the suspended state) and puts it in the background state when a remote notification arrives. However, the system does not automatically launch your app if the user has force-quit it. In that situation, the user must relaunch your app or restart the device before the system attempts to launch your app automatically again.

当通知来了
  • - application:didReceiveRemoteNotification:fetchCompletionHandler:
    • 应用程序在前台或后台运行时都会调起该方法
    • 当该方法使用后,- application:didReceiveRemoteNotification: 会失效
  • - application:didReceiveRemoteNotification:
    • 应用程序在前台运行时会调起该方法

相关文章

  • application:didReceiveRemoteNot

    苹果文档 Use this method to process incoming remote notificat...

  • 使用sencha CMD

    Modifying the Application (修改application) The application...

  • Erlang OTP Application

    Erlang OTP Application Application application module App...

  • spring boot yml多文件配置

    application.yml application-dev.yml application-prod.yml

  • application

    --只要服务器不关闭,application一直存在,且只存在唯一 一个 --第一次访问的时候 进入 if 里面 ...

  • Application

    Application是什么 Application和Activity,Service一样,是Android框架的...

  • Application

    1、 静态属性 1.1 Path路径 注:不同平台下,位置不同 1.2 loadedLevel 关卡属性

  • Application

    java.lang.Object↳android.content.Context↳android.content....

  • Application

    .env 配置文件APP_ENV=local参数 bound($abstract) bind($abstract,...

  • Application

    通过Application类实现维护应用全局状态的方法 application回调函数 Application对象...

网友评论

      本文标题: application:didReceiveRemoteNot

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