一 iOS开发之icon规范+启动图规范,App图标和启动图尺寸

注意:iOS所有图标的圆角效果由系统生成,给到的图标本身不能是圆角的。
命名规则只是遵循前人的规范,不是死的规定。

1. 桌面图标 (app icon)

for iPhone6 plus(@3x) : 180 x 180 命名: [email protected]

for iPhone 6/5s/5/4s/4(@2x) : 120 x 120 命名: [email protected]

2. 系统搜索框图标 (Spotlight search results icon)

for iPhone6 plus(@3x) : 120 x 120 命名: [email protected]

for iPhone6/5s/5/4s/4(@2x) : 80 x 80 命名: [email protected]

3. 系统设置图标 (Settings icon)

for iPhone6 plus(@3x) : 87 x 87 命名: [email protected]

for iPhone6/5s/5/4s/4(@2x) : 58 x 58 命名:[email protected]

4. 启动图片 (launch image)

普通屏幕(非Retina屏):320 x 480 命名:LaunchImage.png

for iPhoen5s/5(@2x) : 640 x 1136 命名:[email protected]

for iPhoen4s/4(@2x) : 640 x 960 命名:[email protected]

iPhone6/iPhone6 plus 建议使用 launch file 或 storyboard ;如果依然想使用图片,尺寸数值为:

for iPhone 6(@2x) : 750 x 1334 命名:[email protected]

for iPhone 6 plus (@3x) : 1242 x 2208 命名:[email protected]

5. 另一种根据iOS系统的分类法

Spotlight
iOS 5,6

base: 29pt, 需要 @1x, @2x, @3x,得出:29 x 29, 58 x 58, 87 x 87

ios 7,8

base: 40pt, 需要 @2x, @3x,得出:80 x 80, 120 x 120

iPhone App
iOS 5,6

base: 57pt,需要 @1x, @2x, 得出:57 x 57, 114 x 114

iOS 7,8

base: 60pt,需要 @2x, @3x,得出:120 x 120, 180 x 180

Settings
iOS 5,6,7,8

base: 29pt,需要 @1x,@2x,@3x,得出:29 x 29, 58x58, 87x87

二 关于UITableView下拉刷新上下/左右颤抖问题文章纠错

1. 之前文章中设置了: 改动比较大需要动框架
self.UIcollectionview.contentInset = UIEdgeInsetsMake(20, 18, 30,-18);
2. 最好的解决方法是:不要设置collection的inset,设置flowLayout的inset就可以了:
collection设置内填充的时候,不要这是collectionview的Inset,要设置  flowLayout.sectionInset

你可能感兴趣的:(一 iOS开发之icon规范+启动图规范,App图标和启动图尺寸)