我最初使用以下代码在沙盒模式下设置了我的应用程序,但我忘记添加UIRemoteNotificationTypeAlert
[[UIApplication sharedApplication] registerForRemoteNotificationTypes:
(UIRemoteNotificationTypeBadge|UIRemoteNotificationTypeSound)];
我已经按照这里http://developer.apple.com/library/ios/#technotes/tn2265/_index.html的方法将时钟向前调整一天来重置应用,但当我尝试添加UIRemoteNotificationTypeAlert时,它仍然只初始化badge和sound alert,我无法添加alert.....
我甚至尝试了新的应用标识符和新的配置文件,但问题仍然存在,有什么办法可以解决这个问题吗?