2014-11-24 09:52:13 shenjie12345678 阅读数 50021

由于开发的时候老是记不住各个设备屏幕尺寸对应的像素,特此在苹果开发者文档上将这些记录了下来,方便查阅.

Screenshot Properties

Device

Specifications

Editable

3.5-Inch Retina Display Screenshots(required)

One screenshot is required. Up to four additional screenshots can be uploaded. You can rearrange the screenshots when you create or edit the iTunes Connect record.

Don’t include the device status bar in your screenshots. Screenshot requirements are:

  • 72 dpi, RGB, flattened, no transparency

  • High-quality JPEG or PNG image file format

  • Any of the following sizes:

    • 640 x 920 pixels for hi-res portrait (without status bar) minimum

    • 640 x 960 pixels for hi-res portrait (full screen) maximum

    • 960 x 600 pixels for hi-res landscape (without status bar) minimum

    • 960 x 640 pixels for hi-res landscape (full screen) maximum

    ../Art/ipod_dim_2x.png

Locked

4-Inch Retina Display Screenshots (Required)

You’re required to upload at least one of these screenshots.

Up to four additional optional screenshots can be uploaded. You can rearrange the screenshots when you create or edit the iTunes Connect record.

Don’t include the device status bar in your screenshots. Screenshot requirements are:

  • 72 dpi, RGB, flattened, no transparency

  • High-quality JPEG or PNG image file format

  • Any of the following sizes:

    • 640 x 1096 pixels for portrait (without status bar) minimum

    • 640 x 1136 pixels for portrait (full screen) maximum

    • 1136 x 600 pixels for landscape (without status bar) minimum

    • 1136 x 640 pixels for landscape (full screen) minimum

    ../Art/iphone_dim_2x.png

Locked

4.7-inch Retina screenshot

If your app indicates that it is optimized for the iPhone 6, at least one 4.7-inch screenshot is required. Up to four additional screenshots can be uploaded. You can rearrange the screenshots when you create or edit the iTunes Connect record.

Don’t include the device status bar in your screenshots. Screenshot requirements are:

  • 72 dpi, RGB, flattened, no transparency

  • High-quality JPEG or PNG image file format

  • 750 x 1334 pixels for hi-res portrait

  • 1334 x 750 pixels for hi-res landscape

Locked

5.5-inch Retina screenshot

If your app indicates that it is optimized for the iPhone 6 Plus, at least one 5.5-inch screenshot is required. Up to four additional screenshots can be uploaded. You can rearrange the screenshots when you create or edit the iTunes Connect record.

Don’t include the device status bar in your screenshots. Screenshot requirements are:

  • 72 dpi, RGB, flattened, no transparency

  • High-quality JPEG or PNG image file format

  • 1242 x 2208 pixels for hi-res portrait

  • 2208 x 1242 pixels for hi-res landscape

Locked

iPad Screenshots(required if app runs on iPad)

If your binary indicates that your app runs on iPad, you’re required to upload at least one iPad screenshot.

Up to four additional screenshots can be uploaded. You can rearrange the screenshots when you create or edit the iTunes Connect record.

Don’t include the device status bar in your screenshots. Screenshots requirements are:

  • 72 dpi, RGB, flattened, no transparency

  • High-quality JPEG or PNG image file format

  • Any of the following sizes:

    • 1024 x 748 pixels for landscape (without status bar) minimum

    • 1024 x 768 pixels for landscape (full screen) maximum

    • 2048 x 1496 pixels for hi-res (without status bar) minimum

    • 2048 x 1536 pixels for hi-res landscape (full screen) maximum

    • 768 x 1004 pixels for portrait (without status bar) minimum

    • 768 x 1024 pixels for portrait (full screen) maximum

    • 1536 x 2008 pixels for hi-res portrait (without status bar) minimum

    • 1536 x 2048 pixels for hi-res portrait (full screen) maximum

    ../Art/ipad_dim_2x.png

Locked

2016-03-25 10:49:46 crystal_9527 阅读数 185

1.iOS设备坐标系

retina屏(3.5寸)
像素 640 X 960 (0,0) (320,480) 329
iphone4/4s

retina屏 (4寸)
像素 640 X 1136 (0, 0) (320, 568) 325
iphone5/5c/5s

retina屏 (4.7寸)
像素 750 X 1134 (0, 0) (375, 667) 289
iphone6

retina屏 (5.5寸)
像素 1242 X 2208 (0, 0) (414, 736)
iphone6p

iPad
普通屏
像素 768 X 1024 (0, 0) (768, 1024)
iPad1/2/mini

retina屏
像素 1536 X 2048 (0, 0)(768, 1024)
new iPad, iPad4, air

  1. 拿到当前设备的版本号

    [UIDevice currentDevice].systemVersion.floatValue

3.获取当前设备屏幕大小

[UIScreen mainScreen].bounds

4.//更改状态栏样式 黑/白
-(UIStatusBarStyle)preferredStatusBarStyle{
return UIStatusBarStyleLightContent;
}

2019-06-03 10:21:59 u014068781 阅读数 133

官方文档关于图像尺寸和分辨率

https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/image-size-and-resolution/

iPhone

设备名称 对角线长度 屏幕物理尺寸 分辨率像素 Scale Factor
iPhone 3GS 3.5英寸 320x480 320x480 @1x
iPhone 4(s) 3.5英寸 320x480 640x960 @2x
iPhone 5(s) 4英寸 320x568 640x1136 @2x
iPhone 5c 4英寸 320x568 640x1136 @2x
iPhone 6 4.7英寸 375x667 750x1334 @2x
iPhone 6plus 5.5英寸 414x736 (1242x2208理想)1080x1920实际 @3x
iPhone 7 4.7英寸 375x667 750x1334 @2x
iPhone 7plus 5.5英寸 414x736 (1242x2208理想)1080x1920实际 @3x
iPhone 8 4.7英寸 375x667 1334 x 750 @2x
iPhone 8plus 5.5英寸 414x736 1920 x 1080 @3x
iPhoneX 5.8英寸 375x812 2436 x 1125 @3x
iPhoneXS 5.8英寸 375x812 2436 x 1125 @3x
iPhoneXS Max 6.5英寸 375x812 2688 x 1242 @3x
iPhoneXR 6.1英寸 375x812 1792 x 828 @3x
iPod Touch
设备名称 对角线长度 物理尺寸 分辨率像素 Scale Factor
iPod Touch1G 3.5英寸 320x480 320x480 @1x
iPod Touch2G 3.5英寸 320x480 320x480 @1x
iPod Touch3G 3.5英寸 320x480 320x480 @1x
iPod Touch4G 3.5英寸 320x480 640x960 @2x

iPad

设备名称 对角线长度 物理尺寸 分辨率像素 Scale Factor
iPad Pro 12.9英寸 1366x1024 2732x2048 @3x
iPad 3 9.7英寸 1024x768 2048x1536 @2x
iPad Air 9.7英寸 1024x768 2048x1536 @2x
iPad Air2 9.7英寸 1024x768 2048x1536 @2x
iPad 2 9.7英寸 1024x768 1024x768 @1x
iPad mini 7.9英寸 1024x768 1024x768 @1x
iPad mini2/3/4 7.9英寸 1024x768 2048x1536 @2x

屏幕比例

iPhone 4 屏幕比例 宽度/高度 = 0.666
iPhone 5(c)(s)Plus 屏幕比例 宽度/高度 = 0.5633
iPhone (8,7,6) 屏幕比例 宽度/高度 = 0.5622
iPhone (8Plus,7Plus,6Plus) 屏幕比例 宽度/高度 = 0.5625
iPhone X 屏幕比例   宽度/高度 = 0.4614121
iPhone XS Max 屏幕比例   宽度/高度 = 0.462053
iPhone XR 屏幕比例   宽度/高度 = 0.462053

引导页面需要的尺寸(根据屏幕比例的不同而区分)

iPhone 4            640960
iPhone 7            12422208
iPhone X            1125 × 2436
iPhone XS Max       1242*2688

AppIcon尺寸

iPhone Notification  40x40 2x 60x60 3x
iPhone settings 58x58 2x 87x87  3x
iPhone Spotlight 80x80 2x 120x120  3x
iPhone app 120x120 2x 180x180 3x

LaunchImage尺寸

iPhone XS Max 1242x2688
iPhone XR 828x1792
iPhone XS iPhone X  1125x2436
iPhone 7  1242x2208
iPhone 6  750x1334
iPhone 5  640x1136
iPhone 4  640x960
2018-05-21 09:23:32 YuanLiYin079 阅读数 10888

iPhone1代:3.5英寸、320×480像素 、iOS3.0 、200万像素
iPhone2代(iPhone 3G):3.5英寸、320×480像素、iOS3.0、200万像素
iPhone 3GS:3.5英寸 、480x320像素、iOS3.0、300万像素
iPhone4:3.5英寸 、960x640像素、iOS5.0、500万像素
iPhone4S:3.5英寸 、960x640像素、iOS7.0、700万像素
iPhone 5:4英寸 、1136x640像素、iOS6.0、800万像素
iphone5s:4英寸 、1136x640像素、iOS7.0、800万像素
iphone5c:4英寸 、1136x640像素、iOS7.0、800万像素
iphone6:4.7英寸 、1334x750像素、iOS8.0、800万像素
iphone6s:4.7英寸 、1334x750像素、iOS9、1200万像素
iphone6 plus:5.5英寸 、1920x1080像素、iOS8.0、800万像素
iphone6s plus:5.5英寸 、1920x1080像素、iOS 9、1200万像素
iphone7 plus:5.5 英寸 、1920 x 1080 像素
iPhone 8:4.7 英寸 、1334 x 750 像素
iPhone X:5.8 英寸 、2436 x 1125 像素

移动端0.5像素细线

阅读数 212

iOS 启动页image大小

阅读数 208

关于像素边框0.5px

阅读数 460

没有更多推荐了,返回首页