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

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

@H_874_8@A: @H_944_10@ How are the icon files in my application bundle used on iPad and iPhone?

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

@H_874_8@

@H_874_8@Important:  Icons marked with "required " must be supplied in your application bundle.

@H_874_8@

@H_874_8@ 

iPhone-only Apps

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

@H_874_8@

@H_874_66@ @H_874_8@ iTunesArtwork

@H_874_66@ @H_874_8@ Ad Hoc iTunes

@H_874_66@ @H_874_8@ Optional but recommended

@H_874_66@ @H_874_8@ File should be in png format,but name it without the .png extension

@H_874_66@ @H_874_8@ Icon.png

@H_874_66@ @H_874_8@ App Store and Home screen on iPhone/iPod touch

@H_874_66@ @H_874_8@ required

@H_874_66@ @H_874_8@ <None>

@H_874_66@ @H_874_8@ Icon@2x.png

@H_874_66@ @H_874_8@ Home screen for iPhone 4 High Resolution

@H_874_66@ @H_874_8@ Optional but recommended

@H_874_66@ @H_874_8@ <None>

@H_874_66@ @H_874_8@ Icon-72.png

@H_874_66@ @H_874_8@ Home screen for iPad compatibility

@H_874_66@ @H_874_8@ Optional but recommended

@H_874_66@ @H_874_8@ <None>

@H_874_66@ @H_874_8@ Icon-small.png

@H_874_66@ @H_874_8@ Spotlight and SetTings

@H_874_66@ @H_874_8@ Optional but recommended

@H_874_66@ @H_874_8@ <None>

@H_874_66@ @H_874_8@ Icon-small-50.png

@H_874_66@ @H_874_8@ Spotlight for iPad compatibility

@H_874_66@ @H_874_8@ Recommended if you have a SetTings bundle,otherwise optional but recommended

@H_874_66@ @H_874_8@ <None>

@H_874_66@ @H_874_8@ Icon-small@2x.png

@H_874_66@ @H_874_8@ Spotlight and SetTings for iPhone 4 High Resolution

@H_874_66@ @H_874_8@ Recommended if you have a SetTings bundle,otherwise optional but recommended

@H_874_66@ @H_874_8@ <None>

Table 1   iPhone-only apps icon requirements.
@H_874_8@ Image Size (pX)

@H_874_8@ File Name

@H_874_8@ Used For

@H_874_8@ required Status

@H_874_8@ Notes

@H_874_8@ 512x512

@H_874_8@ 57x57

@H_874_8@ 114x114

@H_874_8@ 72x72

@H_874_8@ 29x29

@H_874_8@ 50x50

@H_874_8@ 58x58

@H_874_8@Your resources group should look SIMILAR TO @L_607_6@ure 1@H_944_10@ :

@H_874_8@ @L_607_6@ure 1   Add files to resources group

iphone 与 ipad 程序图标

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

@H_874_8@

iPad-only Apps

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

@H_874_8@

@H_874_66@ @H_874_8@ iTunesArtwork

@H_874_66@ @H_874_8@ Ad Hoc iTunes

@H_874_66@ @H_874_8@ Optional but recommended

@H_874_66@ @H_874_8@ File should be in png format,but name it without the .png extension

@H_874_66@ @H_874_8@ Icon-72.png

@H_874_66@ @H_874_8@ App Store and Home screen on iPad

@H_874_66@ @H_874_8@ required

@H_874_66@ @H_874_8@ <None>

@H_874_66@ @H_874_8@ Icon-small-50.png

@H_874_66@ @H_874_8@ Spotlight on iPad

@H_874_66@ @H_874_8@ Optional but recommended

@H_874_66@ @H_874_8@ <None>

@H_874_66@ @H_874_8@ Icon-small.png

@H_874_66@ @H_874_8@ SetTings on iPad

@H_874_66@ @H_874_8@ Recommended if you have a SetTings bundle,otherwise optional but recommended

@H_874_66@ @H_874_8@ <None>

Table 2   iPad-only apps icon requirements.
@H_874_8@ Image Size (pX)

@H_874_8@ File Name

@H_874_8@ Used For

@H_874_8@ required Status

@H_874_8@ Notes

@H_874_8@ 512x512

@H_874_8@ 72x72

@H_874_8@ 50x50

@H_874_8@ 29x29

@H_874_8@Except for iTunesArtWork icon,in the order shown in the table . Follow the steps in "Add Icon files in Info.plist" section below. See @L_607_6@ure 5@H_944_10@ .

@H_874_8@

Universal Apps

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

@H_874_8@

@H_874_66@ @H_874_8@ iTunesArtwork

@H_874_66@ @H_874_8@ Ad Hoc iTunes

@H_874_66@ @H_874_8@ Optional but recommended

@H_874_66@ @H_874_8@ File should be in png format,but name it without the .png extension

@H_874_66@ @H_874_8@ Icon.png

@H_874_66@ @H_874_8@ App Store and the Home screen on iPhone/iPod touch

@H_874_66@ @H_874_8@ required

@H_874_66@ @H_874_8@ <None>

@H_874_66@ @H_874_8@ Icon@2x.png

@H_874_66@ @H_874_8@ Home screen for iPhone 4 High Resolution

@H_874_66@ @H_874_8@ Optional but recommended

@H_874_66@ @H_874_8@ <None>

@H_874_66@ @H_874_8@ Icon-72.png

@H_874_66@ @H_874_8@ App Store and Home screen on iPad

@H_874_66@ @H_874_8@ required

@H_874_66@ @H_874_8@ <None>

@H_874_66@ @H_874_8@ Icon-small.png

@H_874_66@ @H_874_8@ SetTings on iPad and iPhone,and Spotlight on iPhone

@H_874_66@ @H_874_8@ Recommended if you have a SetTings bundle,otherwise optional but recommended

@H_874_66@ @H_874_8@ <None>

@H_874_66@ @H_874_8@ Icon-small-50.png

@H_874_66@ @H_874_8@ Spotlight on iPad

@H_874_66@ @H_874_8@ Optional but recommended

@H_874_66@ @H_874_8@ <None>

@H_874_66@ @H_874_8@ Icon-small@2x.png

@H_874_66@ @H_874_8@ Spotlight and SetTings for iPhone 4 High Resolution

@H_874_66@ @H_874_8@ 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 @L_607_6@ure 4@H_944_10@ .

@H_874_8@

Add Icon files in Info.plist

@H_874_8@To add the Icon files entry you will need to manually edit your Info.plist .

@H_874_8@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 @L_607_6@ure 2@H_944_10@ .

@H_874_8@ @L_607_6@ure 2   Add a new entry under "Icon file" key

iphone 与 ipad 程序图标

@H_874_8@Then,type "Icon files " in the key column (notice the "s " added),or choose "Icon files " from the drop down list,as shown in @L_607_6@ure 3@H_944_10@ .

@H_874_8@ @L_607_6@ure 3   Add "Icon files" key in Info.plist

@H_733_616@

@H_874_8@Next,turn down the disclosure triangle on "Icon files " and add the entries for the icons for your application,as shown in @L_607_6@ure 4@H_944_10@ and @L_607_6@ure 5@H_944_10@ :

@H_874_8@ @L_607_6@ure 4   Add icon file entries for iPhone-only or Universal apps.

iphone 与 ipad 程序图标

@L_607_6@ure 5   Add entries for iPad icon files.

iphone 与 ipad 程序图标

@H_874_8@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.

Table 3   Universal apps icon requirements.
@H_874_8@ Image Size (pX)

@H_874_8@ File Name

@H_874_8@ Used For

@H_874_8@ required Status

@H_874_8@ Notes

@H_874_8@ 512x512

@H_874_8@ 57x57

@H_874_8@ 114x114

@H_874_8@ 72x72

@H_874_8@ 29x29

@H_874_8@ 50x50

@H_874_8@ 58x58

@H_502_645@
本图文内容来源于网友网络收集整理提供,作为学习参使用,版权属于原作者。
@H_322_673@ 大佬教程官方4群

大佬总结

以上是大佬教程为你收集整理的iphone 与 ipad 程序图标全部内容,希望文章能够帮你解决iphone 与 ipad 程序图标所遇到的程序开发问题。

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

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