tags:

views:

1067

answers:

2

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?

+9  A: 

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).

Jason Harwig
A: 

thank you very much :)

Hans Espen
You'll want to mark Jason Harwig's post as the definitive answer and save your thanks for the comments. Good luck with your project.
Joe Liversedge