I have a peculiar station in one of my apps. Alt ought I call:
[UIApplication sharedApplication].applicationIconBadgeNumber=<value>
the badge keeps on not being shown.
In the didFinishLaunchingWithOptions
of the app delegate I have regularly called:
UIUserNotificationSettings *settings = [UIUserNotificationSettings settingsForTypes:(UIUserNotificationTypeAlert | UIUserNotificationTypeBadge | UIUserNotificationTypeSound) categories:nil];
[application registerUserNotificationSettings:settings];
[application registerForRemoteNotifications];
I also tried to set it by means of a notification, yet the notification is shown but the badge is not updated. What might be the issue or how could I know better?