Reputation: 5742
I have copied the icon file into my project and in the plist i have updated the image in icon file section. I think this is all i need to see the application's icon on phone and on the simulator but i can't. Do you guys know about anything which could possible go wrong?
Thanks,
Upvotes: 0
Views: 255
Reputation: 2132
Please save your Icon imagename as Icon.png and dimension of Icon.png should be 57*57.
Now, please remove application from iPhone device or Simulator. clean build and all target
Run application again
If you want more help for the Icon in all cases then, you can find sample code of Apple form below link.
Upvotes: 0
Reputation: 58097
The correct way to set up icons in an iOS app is to use the following names and sizes for your icons:
iTunesArtwork
(512px by 512px)[email protected]
(114px by 114px)Icon-72.png
(72px by 72px)[email protected]
(58px by 58px)Icon.png
(57px by 57px)Icon-50.png
(50px by 50px)Icon-Small.png
(29px by 29px)Adding them into your plist is not important, especially if you are using Xcode 4. Make sure that you name your icons with the above names. You've indicated in the comments above that you've named your icon iphone_icon.png
. I suggest taking the following steps:
Icon.png
.Upvotes: 0
Reputation: 31171
If you have got all the obvious correct (you've added the icon file, it's 57x57, it is checked in the project resource list, and the entry in the plist matches the file name etc.) try:
Upvotes: 1
Reputation: 11543
Did you try to remove the app from iphone or simulator? If the app has been previously installed, the icon isn't always replaced.
Upvotes: 0