iOS   发布时间:2022-03-31  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了App Icons on iPad and iPhone大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

App Icons on iPad and iPhone

@H_404_59@57x57 @H_404_59@114x114 @H_404_59@72x72 @H_404_59@29x29 @H_404_59@50x50 @H_404_59@58x58

Your resources group should look SIMILAR TO Figure 1:

figure 1: Add files to resources group

App Icons on iPad and iPhone

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 

App Icons on iPad and iPhone

iPad-only Apps

Include the following in your application's resources group in the Xcode project:

Table 2 : iPad-only apps icon requirements.

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.

@H_404_59@512x512
Image Size (pX) File Name Used For required Status Notes
iTunesArtwork Ad Hoc iTunes Optional but recommended File should be in png format,but name it without the .png extension
Icon.png App Store and Home screen on iPhone/iPod touch required <None>
Icon@2x.png Home screen for iPhone 4 High Resolution Optional but recommended <None>
Icon-72.png Home screen for iPad compatibility Optional but recommended <None>
Icon-small.png Spotlight and SetTings Optional but recommended <None>
Icon-small-50.png Spotlight for iPad compatibility Recommended if you have a SetTings bundle,otherwise optional but recommended <None>
Icon-small@2x.png Spotlight and SetTings for iPhone 4 High Resolution Recommended if you have a SetTings bundle,otherwise optional but recommended <None>
@H_404_59@512x512 @H_404_59@72x72 @H_404_59@50x50 @H_404_59@29x29
Image Size (pX) File Name Used For required Status Notes
iTunesArtwork Ad Hoc iTunes Optional but recommended File should be in png format,but name it without the .png extension
Icon-72.png App Store and Home screen on iPad required <None>
Icon-small-50.png Spotlight on iPad Optional but recommended <None>
Icon-small.png SetTings on iPad Recommended if you have a SetTings bundle,otherwise optional but recommended <None>

Except for iTunesArtWork iconin the order shown in the table. Follow the steps in "Add Icon files in Info.plist" section below. See Figure 5.

Back to Top 

App Icons on iPad and iPhone

Universal Apps

Include the following in your application's resources group in the Xcode project:

Table 3 : Universal apps icon requirements.

@H_404_59@512x512 @H_404_59@57x57 @H_404_59@114x114 @H_404_59@72x72 @H_404_59@29x29 @H_404_59@50x50 @H_404_59@58x58
Image Size (pX) File Name Used For required Status Notes
iTunesArtwork Ad Hoc iTunes Optional but recommended File should be in png format,but name it without the .png extension
Icon.png App Store and the Home screen on iPhone/iPod touch required <None>
Icon@2x.png Home screen for iPhone 4 High Resolution Optional but recommended <None>
Icon-72.png App Store and Home screen on iPad required <None>
Icon-small.png SetTings on iPad and iPhone,and Spotlight on iPhone Recommended if you have a SetTings bundle,otherwise optional but recommended <None>
Icon-small-50.png Spotlight on iPad Optional but recommended <None>
Icon-small@2x.png Spotlight and SetTings for iPhone 4 High Resolution Recommended if you have a SetTings bundle, in the order shown in the table. Follow the steps in "Add Icon files in Info.plist" section below. See Figure 4.

Back to Top 

App Icons on iPad and iPhone

Add Icon files in Info.plist

To add the Icon files entry @R_675_8337@ill 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

App Icons on iPad and iPhone

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

App Icons on iPad and iPhone

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.

App Icons on iPad and iPhone

figure 5: Add entries for iPad icon files.

App Icons on iPad and iPhone

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.

大佬总结

以上是大佬教程为你收集整理的App Icons on iPad and iPhone全部内容,希望文章能够帮你解决App Icons on iPad and iPhone所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。