@
kitalphaj 我只是说可以,没有说用户 “ force-quit ” 程序后可以。 就算用户强退程序,而 “ relaunch your app or restart the device ” 后,又可以通过这种方式唤醒不是么?除非用户把 app 挨个 “ force-quit ”。 我说的是一种通常情况下会怎么处理(毕竟把所有 APP “ force-quit ”是少数吧?,而你却说一种特殊情况(点开再关闭可是很麻烦,不是么?
“
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.
”