2011年2月15日 星期二

iPhone,iPad Icon格式說明

http://developer.apple.com/library/ios/#qa/qa2010/qa1686.html


iPhone-only Apps

Include the following in your application's Resources group in the Xcode project:
Table 1 : iPhone-only apps icon requirements.
Image Size (px)File NameUsed ForRequired StatusNotes
512x512iTunesArtworkAd Hoc iTunesOptional but recommendedFile should be in png format, but name it without the .png extension
57x57Icon.pngApp Store and Home screen on iPhone/iPod touchRequired<None>
114x114Icon@2x.pngHome screen for iPhone 4 High ResolutionOptional but recommended<None>
72x72Icon-72.pngHome screen for iPad compatibilityOptional but recommended<None>
29x29Icon-Small.pngSpotlight and SettingsOptional but recommended<None>
50x50Icon-Small-50.pngSpotlight for iPad compatibilityRecommended if you have a Settings bundle, otherwise optional but recommended<None>
58x58Icon-Small@2x.pngSpotlight and Settings for iPhone 4 High ResolutionRecommended if you have a Settings bundle, otherwise optional but recommended<None>

iPad-only Apps

Include the following in your application's Resources group in the Xcode project:
Table 2 : iPad-only apps icon requirements.
Image Size (px)File NameUsed ForRequired StatusNotes
512x512iTunesArtworkAd Hoc iTunesOptional but recommendedFile should be in png format, but name it without the .png extension
72x72Icon-72.pngApp Store and Home screen on iPadRequired<None>
50x50Icon-Small-50.pngSpotlight on iPadOptional but recommended<None>
29x29Icon-Small.pngSettings on iPadRecommended if you have a Settings bundle, otherwise optional but recommended<None>

Universal Apps

Include the following in your application's Resources group in the Xcode project:
Table 3 : Universal apps icon requirements.
Image Size (px)File NameUsed ForRequired StatusNotes
512x512iTunesArtworkAd Hoc iTunesOptional but recommendedFile should be in png format, but name it without the .png extension
57x57Icon.pngApp Store and the Home screen on iPhone/iPod touchRequired<None>
114x114Icon@2x.pngHome screen for iPhone 4 High ResolutionOptional but recommended<None>
72x72Icon-72.pngApp Store and Home screen on iPadRequired<None>
29x29Icon-Small.pngSettings on iPad and iPhone, and Spotlight on iPhoneRecommended if you have a Settings bundle, otherwise optional but recommended<None>
50x50Icon-Small-50.pngSpotlight on iPadOptional but recommended<None>
58x58Icon-Small@2x.pngSpotlight and Settings for iPhone 4 High ResolutionRecommended if you have a Settings bundle, otherwise optional but recommended<None>

Add Icon files in Info.plist

To add the Icon files entry you will need to manually edit your Info.plist.
Open your Info.plist in Xcode, and locate the "Icon file" entry. Click on the plus (+) button at the end of the entry to make a new key entry. as shown in Figure 2.
Figure 2: Add a new entry under "Icon file" key
Figure 2, Add a new entry under "Icon file" key
Then, type "Icon files" in the key column (notice the "s" added), or choose "Icon files" from the drop down list, as shown in Figure 3.
Figure 3: Add "Icon files" key in Info.plist
Figure 3, Add "Icon files" key in Info.plist
Next, turn down the disclosure triangle on "Icon files" and add the entries for the icons for your application, as shown in Figure 4 and Figure 5:
Figure 4: Add icon file entries for iPhone-only or Universal apps.
Figure 4, Add icon file entries for iPhone-only or Universal apps.
Figure 5: Add entries for iPad icon files.
Figure 5, Add entries for iPad icon files.

沒有留言:

張貼留言