IPhone - Change the application icon pointed to by info.plist in the application?

Is there a way to change the 47x47 PNG specified in the info.plist file for the iPhone springboard icon from the code?

I understand that I can add a translation and change the springboard icon to the language supported by the iPhone using the changed info.plist language, but I would like to change the springboard icon for my iPhone application based on the user's preferences in the application.

Any ideas?

I have not tried this, but can a file be copied on top of another in the application bundle? Can I send with info.plist, pointing to "base.png", and then replace "base.png" with another PNG package, will I use my application from the code?

Thanks.

- Batgar

+6
iphone bundle plist
source share
2 answers

This is impossible to do - the basic iPhone application kit is read-only, so you cannot change the icon of your application in your application.

+9
source share

What you want to do is create a new target (with the corresponding icon) for each sister application, and this will allow you to compile multiple applications using the same code base. Hope this helps!

+1
source share

All Articles