Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Jeremy1026

macrumors 68020
Nov 3, 2007
2,215
1,029
How can I change the app icon interactively when an action inside the app is done? (ie: pressing a buttom ..)

The only thing I could think of would be to edit the .plist file to point to a different app icon. If that is even possible?
 

Sbrocket

macrumors 65816
Jun 3, 2007
1,250
0
/dev/null
How can I change the app icon interactively when an action inside the app is done? (ie: pressing a buttom ..)

In terms of AppStore applications? You can't. Period. Doing so, first, is not allowed by the sandbox and, second, would invalidate the codesigning on your application bundle. If you need a numerical indicator, use the badges. Otherwise find another option.
 

Sbrocket

macrumors 65816
Jun 3, 2007
1,250
0
/dev/null
Thanks,

Where can I find more information regarding badges?

Look in the UIApplication docs for the applicationIconBadgeNumber property. Very easy to use - just do something like this:

Code:
[UIApplication sharedApplication].applicationIconBadgeNumber = 5;

You can then set it to 0 to clear the badge. These are the same badges that are used, for example, by Apple's Mail app.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.