【问题标题】:Resetting push notification settings for an iOS app?重置 iOS 应用程序的推送通知设置?
【发布时间】: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


【解决方案1】:

如果我没记错的话,您必须提前一两天重新启动您的设备。

【讨论】:

    猜你喜欢
    • 2011-01-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-06-09
    • 2015-03-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多