码迷,mamicode.com
首页 > 移动开发 > 详细

xcode5-ios7-如何添加120×120图标(ios7图标命名)

时间:2015-06-23 16:04:41      阅读:202      评论:0      收藏:0      [点我收藏+]

标签:

 Xcode5发布需要的新的程序图标

       Icon.png                      57X57       10px   用户AppStore以及iPhone/iPod 中显示 必需

       Icon@2x.png              114X114   20px  高清模式

       Icon_120.png             120X120   20px  用于iPhone5的高清显示

       Icon-Small.png           29X29       20px  用于设置以及Spotlight搜索

       Icon-Small@2x.png   58X58      8px     用于Icon-Small.png的高清模式

       Icon_80.png   80X80      8px   用于iPhone5在Spotlight搜索

最近提交itunesconnect应用时,有个警告说缺少120x120图标,怎么修改,经过各种网上查找,TMD网上方法真少,到处只是提问题的。

以下是本人解决方法:

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

1、技术分享

2、技术分享

3、技术分享

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

参考:

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

http://wpguru.co.uk/2013/09/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:

技术分享

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:

技术分享

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

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 menu技术分享

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.plist技术分享

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.技术分享Figure
4
  Add icon files for iPad-only apps.技术分享


xcode5-ios7-如何添加120×120图标(ios7图标命名)

标签:

原文地址:http://my.oschina.net/u/2344008/blog/469721

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!