推送通知不做任何事情

时间:2011-12-01 14:24:00

标签: iphone ios apple-push-notifications

我读过这篇很棒的文章 http://www.raywenderlich.com/3443/apple-push-notification-services-tutorial-part-12

但我实际的iphone设备中的问题是

[[UIApplication sharedApplication] registerForRemoteNotificationTypes:
        (UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert)];

不要以某种方式工作。实际上它应该要求我接受如下链接图片的接受通知设置。

http://www.raywenderlich.com/3443/apple-push-notification-services-tutorial-part-12/basic-app-2-allow-notifications

但是这个警告框没有显示。

因此我认为我的iphone可能会出现通知问题。后来我尝试加载iPusher Applicaton来测试我的iPhone。结果是我的iPhone仍在处理通知。

我已经测试了我的SSL证书和PEM文件,这些都很好。它连接到APN没有任何问题。

有什么建议吗?感谢。

0 个答案:

没有答案
相关问题