Kar*_*arl 22 iphone icons plist
出于某种原因,iPhone 4拒绝显示我的高分辨率图标文件.
我已经检查了这些解决方案,其中没有一个对我有用:
如何设置适用于iPhone 4的iPhone3和Retina的普通图标
http://developer.apple.com/library/ios/#qa/qa2010/qa1686.html
http://appworks.radeeccles.com/programming/cfbundleiconfiles-nice-ready-prime-time/
图标位于我的资源组中,并且都正确命名:
我也尝试将它们添加到Info.plist文件中,首先作为数组,然后作为字典,然后简单地删除plist文件中的所有图标引用,但无论我做什么,它仍然显示放大的57x57图标.
拥有工作图标设置的人可以发布实现这项工作所需的实际XML咒语吗?
New*_*man 55
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:
- 512x512 iTunesArtwork iTunes Image
- 57x57 Icon.png Home screen for < iPhone 4
- 114x114 Icon@2x.png Home screen for iPhone 4 High Resolution
- 72x72 Icon-72.png Home screen for iPad compatibility
- 29x29 Icon-Small.png Spotlight and Settings
- 50x50 Icon-Small-50.png Spotlight for iPad compatibility
- 58x58 Icon-Small@2x.png Spotlight and Settings for iPhone 4 High Resolution
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.
Tho*_*son 17
我也有这个问题......这就是我设法解决它的方法
在info.plist文件中,您需要两个条目:
第一个将是"图标文件",这需要是"Icon.png".
第二个条目是"图标文件",这是一个数组......
数组中的FIRST ENTRY是你在std def的图标文件:"Icon.png"
SECOND ENTRY是高清图标文件:"Icon@2x.png"

| 归档时间: |
|
| 查看次数: |
32741 次 |
| 最近记录: |