How to add a badge on your iPhone App
Here is a simple tip to show a number on your app icon. See an example screenshot below:
title=“christmas_countdown_badge” src=“https://static.objectgraph.com/uploads/2010/02/christmas\_countdown\_badge.png” alt=“christmas_countdown_badge” width=“96” height=“101” />
You can set this little number appears on the icon by using UIApplication class like below
- (void)applicationDidFinishLaunching:(UIApplication *)application {
//...
[application setApplicationIconBadgeNumber:123];
}
Check out the app from this link:
By: kiichi on: