Add a CFBundleIconFiles key of type Array to your Info.plist. The array should contain 2 string items: the filenames of the two icons. The OS will then automatically choose the correct icon for each platform based on their pixel dimensions.
You can keep the CFBundleIconFile key and have it point to the icon file for the iPhone for 3.0/3.1 compatibility.
本文介绍如何在iOS应用程序的Info.plist文件中正确配置图标。通过添加CFBundleIconFiles键指向iPhone图标以保持3.0/3.0兼容性,并使用AddaCFBundleIconFiles键设置不同尺寸的图标以适应各平台。
1万+

被折叠的 条评论
为什么被折叠?



