推送通知在 iphone4 和 iphone3 中不起作用
我开发了一个使用推送通知的应用程序,它工作正常,但是当今天我更新并运行该应用程序时,应用程序无法获取设备令牌,两个委托方法都不会被调用。但是当我在设置中看到通知时iPhone,我发现我的应用程序已注册通知,我该如何解决此问题有任何帮助吗?
I developed a application which uses push notification,it was working fine but when today i updated and when i run the application ,app is not able to get device token,both delegates methods are not called .but when i see the notification in settings of iphone ,i find my app as registered for notification ,how can i fix this problem any help?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
解锁的 iPhone 在推送通知方面存在很多问题。检查网络,您可以采取一些解决方法来使其正常工作。奇怪的是它以前有效,但现在不行了。您所说的方法是正确的方法,应该在启动应用程序时触发...
您可以尝试从多任务处理中终止该应用程序。也许是这种情况,方法没有被调用......
Unlocked iPhones have many problems with Push Notifications. Check the web, there are some work arounds you can do to get it working. Strange that it worked before, but now it isn't.. The methods you spoke about are the correct methods and should be fired when launching the app...
You can try to kill the app from the multitasking. Maybe that's the case the methods aren't called...