IPhone notification icon

On my program icon, I want to show how many impressions are shown, for example, on the AppStore program icon, which shows how many updates are available. How can I implement this on my own program icon?

+4
source share
1 answer

Your application can add the icon icon number by calling:

[UIApplication sharedApplication].applicationIconBadgeNumber = 1; // any NSInteger 

This is available in iPhone 2.0 , but in 3.0 the application should not be launched to update the number using a push notification service (requires a server in the cloud).

+10
source

All Articles