Saturday, December 5, 2009

Change the icon of iPhone Application

To change icon of your iPhone Application, you have to prepare a 57 x 57 pixels png file.



Drag to the Resources folder in Xcode. You will be asked for some specifics of your png file. It's suggested to select Copy items into destination group's folder. And click Add.


The png file will be placed here:
Resources under Groups and Files

Click your <xxx>-info.plist (it's HelloXcode-info.plist in my project) to edit the properties.
HelloXcode-info.plist

Double click on the empty field with "Icon file" properity, and type in the file name of the icon.
edit properties

Save it and Click Build and Go again,

Exit your Application in iPhone Simulator, it can be noted that the icon of your application is updated.
Screenshot of iPhone with custom icon