When registering for push notifications, I cannot turn on the icon alert ...
- (void)registerForPushNotifications { UIRemoteNotificationType notificationTypes = (UIRemoteNotificationTypeAlert | UIRemoteNotificationTypeSound); [[UIApplication sharedApplication] registerForRemoteNotificationTypes:notificationTypes]; }
... so I donβt understand why it shows.
The only way to figure out how to disable the icons from showing on my icon is to reset the applicationIconBadgeNumber value in the applicationIconBadgeNumber delegate, but this is a bit hacked. Is there anything that I can just disconnect the icon number from showing on my application icon?
Thanks for your widsom!
source share