didReceiveRemoteNotification:未附加到 xcode iOS 8.0.2 时未调用 fetchCompletionHandler

2024-02-26

这是问题,当应用程序附加到 xcode 时,didReceiveRemoteNotification:fetchCompletionHandler叫做。

但是当我将其分离时,即使收到通知也不会调用它。

我再次附加应用程序(调试->附加到进程)并发送通知,didReceiveRemoteNotification:fetchCompletionHandler又打电话来了。

有人可以解释为什么didReceiveRemoteNotification:fetchCompletionHandler当我从 xcode 中分离它时没有被调用?

该应用程序没有被强制关闭。我只是打开它并将其置于后台。

在 iPhone 5 iOS 8.0.2 中测试
APNS 沙箱。

谢谢。


None

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

didReceiveRemoteNotification:未附加到 xcode iOS 8.0.2 时未调用 fetchCompletionHandler 的相关文章

随机推荐