App Icons on iPad and iPhone

App Icons on iPad and iPhone

Q: How are the icon files in my application bundle used on iPad and iPhone?

A: Below are guidelines for handling icon files for iPhone-only apps, iPad-only apps, and universal apps.

IMPORTANT: Icons marked with "Required" must be supplied in your application bundle.

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>

Your Resources group should look similar to Figure 1:

Figure 1: Add files to Resources group

Figure 1, Add files to Resources group

Except for iTunesArtWork icon, list the names of each of these files in the Icon files entry in the Info.plistin the order shown in the table. Follow the steps in "Add Icon files in Info.plist" section below. See Figure 4.

Back to Top 

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>

Except for iTunesArtWork icon, list the names of each of these files in the Icon files entry in the Info.plistin the order shown in the table. Follow the steps in "Add Icon files in Info.plist" section below. See Figure 5.

Back to Top 

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>

Except for iTunesArtWork icon, list the names of each of these files in the Icon files entry in the Info.plistin the order shown in the table. Follow the steps in "Add Icon files in Info.plist" section below. See Figure 4.

Back to Top 

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.

Note: If you don't provide one of the listed optional icons, the system will automatically scale one of your existing icons to an appropriate size. However, it is strongly recommended that your application supply all the icons listed with specific sizes needed.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值