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@
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_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_8@ 57x57 |
@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_8@ 114x114 |
@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_8@ 72x72 |
@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_8@ 29x29 |
@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_8@ 50x50 |
@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_8@ 58x58 |
@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>
@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 程序图标 iphone 与 ipad 程序图标](http://developer.apple.com/library/ios/qa/qa1686/Art/qa1686_6.png)
@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@
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_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_8@ 72x72 |
@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_8@ 50x50 |
@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_8@ 29x29 |
@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>
@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@
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_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_8@ 57x57 |
@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_8@ 114x114 |
@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_8@ 72x72 |
@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_8@ 29x29 |
@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_8@ 50x50 |
@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_8@ 58x58 |
@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 程序图标 iphone 与 ipad 程序图标](http://developer.apple.com/library/ios/qa/qa1686/Art/qa1686_1.png)
@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 程序图标 iphone 与 ipad 程序图标](http://developer.apple.com/library/ios/qa/qa1686/Art/qa1686_3.png)
@L_607_6@ure 5 Add entries for iPad icon files.
![iphone 与 ipad 程序图标 iphone 与 ipad 程序图标](http://developer.apple.com/library/ios/qa/qa1686/Art/qa1686_4.png)
@H_
874_8@
Note: If you don't provide one of the listed optional icons,the sy
stem will automatically scale one of your exis
Ting icons to an appropriate size. However,
it is strongly recommended that your application supply all the icons listed with specific sizes needed.
本图文内容来源于网友网络收集整理提供,作为学习参
考使用,版权属于原作者。
@H_322_
673@
大佬教程官方4群