Using UIImage as Application Icon

Can I set the image as a unique iPhone app icon in code instead of adding a PNG image file and giving it a name Icon.png

?

+1


source to share


2 answers


Here's an example of what you would add to your Info.plist:

<key>CFBundleIconFile</key>
<string>app.png</string>

      



This one (and other related variations) is well documented in the iPhone Application Programming Guide .

Note. An Apple Developer account may be required to view this link.

0


source


a) No, not for developer apps. Also note that Apple's preboot apps can explicitly modify Default.png (see Notes App), but that cannot be done by the rest of us.



b) The app icon can also be jpeg and can be called by anyone you like - you just need to set it accordingly in Info.plist

+3


source







All Articles