【发布时间】:2012-04-19 01:28:40
【问题描述】:
我的应用注册这样的通知:
[[UIApplication sharedApplication] registerForRemoteNotificationTypes:UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert];
但如果我手动进入通知设置,禁用所有内容(通知中心、警报、声音、徽章)然后卸载并重新安装应用程序(或者只是重新安装而不先卸载),我的 iPhone 会保留旧设置。如何在重新安装时强制重新激活这些设置?
【问题讨论】:
标签: ios settings apple-push-notifications