I want to use the same number as the mail icon for iPhone and iPad, how does this small number appear above the icon?
[UIApplication sharedApplication].applicationIconBadgeNumber = 3;
Remember to set the value to 0 when you want the icon to go away, so it doesn't get annoyed.