App Icons on iPad and iPhone
https://devforums.apple.com/message/190913
This post explains how the icon files in your application bundle are used on iPad and iPhone. Icons marked with "Required" must be supplied in your application bundle. If you don't provide one of the listed optional icons, the system will automatically scale one of your existing icons to an appropriate resolution. However, it's recommended that your application supply the specific resolutions needed.
iPhone-only apps:
1. Include the following in your application bundle:
57 x 57px icon to be used by the App Store and the Home screen on iPhone/iPod touch — Required
29 x 29px icon to be used by Settings and Spotlight — Recommended if you have a Settings bundle, otherwise Optional but Recommended
2. Specify the name of the 57 x 57px icon file in the CFBundleIconFile entry in your Info.plist.
3. Additionally, the 29 x 29px icon must be named "Icon-Small.png"
iPad-only apps:
1. Include the following in your application bundle:
72 x 72px icon to be used by the App Store and the Home screen on iPad — Required
50 x 50px icon to be used by Spotlight on iPad — Optional but Recommended
29 x 29px icon to be used in Settings on iPad — Recommended if you have a Settings bundle
2. List the names of each of these files in the CFBundleIconFiles entry in the Info.plist
To add the CFBundleIconFiles entry you will need to manually edit your Info.plist. First, create a new entry for CFBundleIconFile. Double-click the "CFBundleIconFile" text and add an "s" so it reads "CFBundleIconFiles".
Next, hold down the Control key and click on the row. Go the the "Value Type" menu and change the selection from "String" to "Array".
Finally, turn down the disclosure triangle on "CFBundleIconFiles" and add the entries for the icons for your application.
Universal apps:
1. Include the following in your application bundle:
72 x 72px icon to be used by the App Store and the Home screen on iPad — Required
57 x 57px icon to be used by the App Store and the Home screen on iPhone and iPod touch — Required
50 x 50px icon to be used by Spotlight on iPad — Optional but Recommend
29 x 29px icon to be used in Settings on iPad and iPhone, and Spotlight on iPhone — Recommended if you have a Settings bundle, otherwise Optional but Recommended
2. List the names of each of these files in the CFBundleIconFiles entry in the Info.plist
3. Specify the name of the 57 x 57px icon file in CFBundleIconFile (note no "s", as this setting is picked up on iPhone OS prior to 3.2)
4. Additionally, name the 50 x 50px file "Icon-Small-50.png" and the 29 x 29px icon "Icon-Small.png"
https://devforums.apple.com/message/190913
阅读(1668) | 评论(0) | 转发(1) |