您的位置:首页 > 移动开发 > IOS开发

ios开发答疑录系列​---iphone & ipad 图标大小和xcode配置

2012-12-15 23:14 716 查看
============================================================博文原创,转载请声明出处电子咖啡(原id蓝岩)============================================================ios开发需要集中图标,如下

Image Size (px)File NameUsed ForRequired Status
512x512iTunesArtworkAd Hoc iTunesOptional but recommended
57x57Icon.pngApp Store and the Home screen on iPhone/iPod touchRequired
114x114Icon@2x.pngHome screen for iPhone 4 High ResolutionOptional but recommended(iphone/ipad 会自动检查是否有@2x.png,有则使用么有则使用低分辨率的)
72x72Icon-72.pngApp Store and Home screen on iPadRequired
50x50Icon-Small-50.pngSpotlight on iPadOptional but recommended
29x29Icon-Small.pngSettings on iPad and iPhone, and Spotlight on iPhoneRecommended if you have a Settings bundle, otherwise optional but recommended
58x58Icon-Small@2x.pngSpotlight and Settings for iPhone 4 High ResolutionRecommended if you have a Settings bundle, otherwise optional but recommended
------------------- 注意,对于new pad,还需要144*144图标“Icon-72@x.png”   -------------------
上面表格中红色文字为必须。
在xocde中,你可以直接吧icon拖入对应的icon框中,如下图,系统会自动配置相关信息,如果有提示框,点击yes




但这个方法有点不够优雅,将你所有的icon放入Resource的group中,在info.plist的icon files加入对应的icon名字,如下图,xode根据icon大小莱薇iphone/ipad 寻找最合适的icon。

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐