首页 技术 正文
技术 2022年11月10日
0 收藏 579 点赞 2,640 浏览 2056 个字

以120×120为例:

添加Icon_120x120.png–>.plist添加Icon files–>App Icons自动变化

1、xcode5-ios7-如何添加120×120、152×152、76×76图标

2、xcode5-ios7-如何添加120×120、152×152、76×76图标

3、xcode5-ios7-如何添加120×120、152×152、76×76图标

===============================================================================================

参考:

https://developer.apple.com/library/ios/qa/qa1686/_index.html

How to add iOS 7 Icons in Xcode 4.6.3

http://stackoverflow.com/questions/18523193/ios-app-submission-invalid-image-sizes

http://blog.manbolo.com/2013/08/15/new-metrics-for-ios-7-app-icons

And the Info.plist should be displayed like this:

xcode5-ios7-如何添加120×120、152×152、76×76图标

You can use whatever name you want, provided you’re using all the mandatory sizes.

With Xcode 5, you can also have a nice overview in clicking on your project in the project navigator, click on the ’General’ tab and check the ’App Icons’ category. You should see something like this, without any yellow warning sign:

xcode5-ios7-如何添加120×120、152×152、76×76图标

==========================================================================================

https://developer.apple.com/library/ios/qa/qa1686/_index.html

Adding 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. Command click anywhere in the space below the existing entries and select Add Row to make a new key entry as shown in Figure 1.

Figure 1  Add a new entry using the context menuxcode5-ios7-如何添加120×120、152×152、76×76图标

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 2.

Figure 2  Add Icon files key in Info.plistxcode5-ios7-如何添加120×120、152×152、76×76图标

Next, turn down the disclosure triangle on Icon files and add the entries for the icons for your application, as shown in Figure 3 and Figure 4. If the retina and non-retina images of an icon share a common base name, you should add a single entry with this base name as its value; do not include the retina (@2x) modifier or the file extension. Otherwise, you must specify the complete file name (with extension) for each icon, and you must add separate entries for the retina and non-retina images for that icon.

Figure 3  Add icon file entries for iPhone-only or Universal apps.xcode5-ios7-如何添加120×120、152×152、76×76图标Figure 4  Add icon files for iPad-only apps.xcode5-ios7-如何添加120×120、152×152、76×76图标

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.

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,497
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,910
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,744
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,498
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:8,136
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:5,301