I initially setup my app in sandbox mode using the code below, I forgot to add UIRemoteNotificationTypeAlert
[[UIApplication sharedApplication] registerForRemoteNotificationTypes:
 (UIRemoteNotificationTypeBadge|UIRemoteNotificationTypeSound)];
I have reset the app by moving the clock a 开发者_Go百科day forward, as mentioned here http://developer.apple.com/library/ios/#technotes/tn2265/_index.html, but when I try to add the UIRemoteNotificationTypeAlert it still only initiaites the badge and sound alert, I can't add the alert.....
I've even tried a new app id and a new provisioning profile, but the problem persists, what can i do to fix this?
If I remember correctly you have to move up a day or two AND restart your device.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论