【发布时间】:2011-09-08 19:46:25
【问题描述】:
我最初使用下面的代码将我的应用设置为沙盒模式,但我忘记添加 UIRemoteNotificationTypeAlert
[[UIApplication sharedApplication] registerForRemoteNotificationTypes:
(UIRemoteNotificationTypeBadge|UIRemoteNotificationTypeSound)];
我已经通过将时钟向前移动一天来重置应用程序,如此处所述http://developer.apple.com/library/ios/#technotes/tn2265/_index.html,但是当我尝试添加 UIRemoteNotificationTypeAlert 时,它仍然只启动 徽章 和 声音警报,我无法添加 警报.....
我什至尝试了一个新的应用 ID 和一个新的配置文件,但问题仍然存在,我该如何解决这个问题?
【问题讨论】:
-
显示您发送到 APNS 的有效负载
标签: iphone ios notifications push reset