Reputation: 5800
Is it possible to set the application icon badge on an iOS application to a negative integer? Seems that whenever I try to use -setApplicationIconBadgeNumber with a negative integer the badge icon is not being displayed at all.
We have a weather application and we would like it to present the temperature in the icon, as some other applications do it.
Upvotes: 1
Views: 869
Reputation: 1284
One weather application that I have seen displays 1005 for -5 degrees, 1010 for -10 and so on to display temperature in the app-icon badge. As other people also commented, it is not possible to display negative numbers nor zero.
Upvotes: 1