HTML5   发布时间:2022-04-27  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了关于Icon.png设置的官方文档大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

Technical Q&A QA1686

引用网址:http://developer.apple.com/library/ios/#qa/qa1686/_index.html

App Icons on iPad and iPhone

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

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

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 @R_450_5550@es group in the Xcode project:

Table 1  iPhone-only apps icon requirements.

Image Size (pX)

File Name

Used For

required Status

Notes

512x512

iTunesArtwork

Ad Hoc iTunes

Optional but recommended

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

57x57

Icon.png

App Store and Home screen on iPhone/iPod touch

required

114x114

Icon@2x.png

Home screen for iPhone 4 High Resolution

72x72

Icon-72.png

Home screen for iPad compatibility

29x29

Icon-small.png

Spotlight and SetTings

50x50

Icon-small-50.png

Spotlight for iPad compatibility

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

58x58

Icon-small@2x.png

Spotlight and SetTings for iPhone 4 High Resolution

Your @R_450_5550@es group should look SIMILAR TO figure 1:

figure 1  Add files to @R_450_5550@es group

关于Icon.png设置的官方文档

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 figure 4.

iPad-only Apps

Include the following in your application's @R_450_5550@es group in the Xcode project:

Table 2  iPad-only apps icon requirements.
App Store and Home screen on iPad

Spotlight on iPad

SetTings on iPad

figure 5.

Universal Apps

Include the following in your application's @R_450_5550@es group in the Xcode project:

Table 3  Universal apps icon requirements.
App Store and the Home screen on iPhone/iPod touch

SetTings on iPad and iPhone,and Spotlight on iPhone

figure 4.

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

关于Icon.png设置的官方文档

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

关于Icon.png设置的官方文档

Next,turn down the disclosure triangle on "Icon files" and add the entries for the icons for your application,sans-serif; margin-bottom: 0.833em; padding-bottom: 0.833em; vertical-align: top;">figure 4 and figure 5:

figure 4  Add icon file entries for iPhone-only or Universal apps.

关于Icon.png设置的官方文档

figure 5  Add entries for iPad icon files.

关于Icon.png设置的官方文档

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.



Document Revision History

本图文内容来源于网友网络收集整理提供,作为学习参使用,版权属于原作者。

猜你在找的iOS相关文章

目前,苹果开发者账号可分为三种类型:个人、公司、企业,且三者的费用以及权限等不尽相同。 1.个人账号 费用:99 美元/年 协作人数:仅限开发者自己 不需要填写公司的邓百氏编码( D-U-N-S Nu
Symbol Value meaning NULL (void *)0 literal null value for C pointers nil (id)0 literal null value for Objective-C objects nil:对象为空定义某一实例对象为空值。例如:NSObject* obj = nil;if (...
@H_696_356@
Android篇环境要求1 安装winrar,然后配置winrar的环境变量,要用到winrar指令2 配置java的bin目录到环境变量,要用到jarsigner指令重签名步骤说明:1 从母包复制一个子包2 删除子包的签名文件META-INFO3 根据需要修改子包的文件,比如渠道号文件之类4 重签名子包对应的python脚本import os...
转载注明出处:https://blog.csdn.net/joosonmao/article/details/21172835刚接触iOS开发的人难免会对苹果的各种证书、配置文件等不甚了解,可能你按照网上的教程一步一步的成功申请了真机调试,但是还是对其中的缘由一知半解。这篇文章就对Certificate、Provisioning Profile等做个总结。 1.概念介绍如果你拥有一个开...
@H_696_356@
转载注明出处:https://www.jianshu.com/p/567d3b730608iOS armv7, armv7s, arm64区别与应用32位、64位配置历程2015年2月1日不允许不支持arm64的应用的提交; iOS10发布后,如果你的应用中使用到了32位的类、库,没有相应支持64位机型的库,则首次启动后会弹窗式提示:“ xxx可能使iPhone变慢...”; iO...
iOS9以下的自己越狱后,通过PP助手备份到电脑或者直接通过pp助手直接下载 
@H_696_356@
转载注明出处:https://www.cnblogs.com/mtystar/p/6082363.html0x01 静态库与动态库的区别1.静态库和动态库的存在形式上的区别静态库 .a .framework 动态库 .dylib (在Xcode 8里面,看到后缀为.tbd的库,它的本质都是.dylib文件) .framework 2.静态库和动态库在使用上的区别...
终端中运行xcodebuild -showsdks
@H_696_356@

大佬总结

以上是大佬教程为你收集整理的关于Icon.png设置的官方文档全部内容,希望文章能够帮你解决关于Icon.png设置的官方文档所遇到的程序开发问题。

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

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