For some reason, the iPhone 4 refuses to display my high resolution icon file.
I've checked out these solutions, none of which have worked for me:
How to setup normal Icon for iPhone3 and Retina for iPhone 4
http://developer.apple.com/library/ios/#qa/qa2010/qa1686.html
http://appworks.radeeccles.com/programming/cfbundleiconfiles-nice-ready-prime-time/
The icons are in my resources group, and are all named correctly:
- Icon.png
- Icon@2x.png
- Icon-72.png
I've also tried adding them to the Info.plist file, first as an array, then as a dictionary, then simply deleting all icon references from the plist file, but no matter what I do, it still displays the 57×57 icon scaled up.
Can someone who has a working icon setup please post the actual XML incantation required to make this work?
Best Answer
My Solution was simple, but only caught it be painstakingly comparing line-by-line in Apple Docs.
The non-obvious solution that seamed contradictory was "Deleting the Icon file key value". In the previous answer's image, you can see the Icon file still shows "icon.png" and the "Icon files" shows the two: icon.png & icon@2x.png.
I got my app to work by deleting the "Icon file's" key value of "Icon.png" It was the only thing different, in the Apple Docs was the absence of a value for the "Icon file" key. View an image here: link removed...
Updated Link that Shows these Images: https://developer.apple.com/library/content/qa/qa1686/_index.html#//apple_ref/doc/uid/DTS40009882
In addition, I would make sure you are using Apples recommended notation when labeling the photos:
Next Steps...
Final Steps...
This methods seams to clear out any legacy issues and assures that the simulator pulls in the correct files.
Hopes this helps!
P.S. If this helps you solve your problem, be sure to check my comment as the Solution.