iOS App Submission, Invalid Image Sizes

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-28 16:43:31
Steph Sharp

Yes, there are new icon sizes for iOS 7. See this article: New Metrics for iOS 7 App Icons. It explains (near the bottom of the article) the sizes you need for iPhone and iPad:

If you want to target only iOS 7, you just need 76 x 76, 120 x 120 and 152 x 152 icon sizes. If you want to target also iOS 6, you’ll need 57 x 57, 72 x 72, 76 x 76, 114 x 114, 120 x 120, 144 x 144 and 152 x 152 icon sizes. Without counting Spotlight and Settings icon if you don’t want the OS to interpolate them!

As far as naming convention goes, you can name the icons anything you want as long as they are the correct size (and that high-res images use the @2x suffix). Just make sure that in your Info.plist file, you declare the names of the icons using the CFBundleIconFiles key.

This similar question on SO might also be of use to you.

EDIT 1: As per comment below, see here for more info:

EDIT 2: If you are using Xcode 5, select the target then select the General tab and you can see the dimensions of the required icons in the App Icons section. See the Apple doco about Asset Catalogs (in particular see this section) where it shows this screenshot:

New icon image sizes that will be required for iOS 7, naming conventions are mentioned below.

For iPhone "appicon-60.png, appicon-60@2x.png"

For iPad "appicon-76.png, appicon-76@2x.png"

Spotlight search results icon for all devices "appicon-Small-40.png, appicon-Small-40@2x.png"

What Apple mentioned in mail "Your delivery was successful, but you may wish to correct the following issues in your next delivery:"

This means this is not the a reason they will reject but they would like it to be corrected in next delivery.

The Xcode GUI for specifying icons gives a concise overview of what icon sizes are supported (see below). Required icons will depend on the device(s) you choose to support.

Icon filename can be of your choosing as long as the dimensions are correct and you let Xcode know about the icon file via the GUI pictured or via the Info.plist.

You need to give app icon size for iPhone in ios 7 is 60*60 for non retina and 120*120 for retina display. And you need to remeber the naming convention in ios7. And for more info see in this image...

And for more info see this link

https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html

The easiest way would be to use AppIcon set. Here is online tool, Icons Master, which will create AppIcon.appiconset folder and it takes care size and naming convection for the icons.

In Images.xcassets if you give the images with proper sizes XCode never throws any warning of any error, Make sure that the size of the images is proper.

Possibilities of throwing warning/error

  • If you miss any of the images even if you miss single image it throws warning.
  • If the size of the image does not match with the required size.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!