On my program icon i want to show how many show a number, like on the AppStore program icon, where it shows how many updates are available. How can i implement this on my own program icon?
Your application can add a badge icon number by calling:
[UIApplication sharedApplication].applicationIconBadgeNumber = 1; // any NSInteger
This is available in iPhone 2.0, but in 3.0 the application doesn't have to be running to update the number using the push notification service (requires server in the cloud).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With