更新时间:2022-12-27 11:05:14
在阅读了大量苹果文档之后,我发现如果用户强制退出应用程序,则该方法(didReceiveRemoteNotification:fetchCompletionHandler)将不会调用.
After lot of apple docs reading, I found that the method (didReceiveRemoteNotification: fetchCompletionHandler) will not invoke if user has force-quit the app.
As written, (link) 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.