我正在为一款iPhone应用程序制作模板,想知道应该使用哪种dpi分辨率?300还是72?
我不确定,希望有人能回答我的问题。
我正在为一款iPhone应用程序制作模板,想知道应该使用哪种dpi分辨率?300还是72?
我不确定,希望有人能回答我的问题。
iPhones
iPhone 1/3G/3GS 320 x 480 163 ppi
iPhone 4/4S 640 x 940 326 ppi
iPhone 5/5C/5S 640 x 1136 326 ppi
iPhone 6/6S 750 x 1334 326 ppi
iPhone 6 Plus/6S Plus 1080 x 1920 401 ppi
Without downsampling: 1242 x 2208 461 ppi
Except for the 6th generation (= 5th) iPod touch,
all the models are equal to their iPhone counterparts
iPads
iPad 1/2 768 x 1024 132 ppi
iPad 3/4/Air/Air 2 1536 x 2048 264 ppi
iPad Mini 1 768 x 1024 163 ppi
iPad Mini 2/3/4 1536 x 2048 326 ppi
iPad Pro 2737 x 2048 264 ppi
Apple Watches
Apple Watch 38 mm 272 x 340 326 ppi
Apple Watch 42 mm 312 x 390 326 ppi
原始的iPhone屏幕分辨率为163dpi - 如果您想要能够按实际大小打印您的屏幕设计,请在模板中使用此分辨率。
72是图像的dpi。
鉴于 iPhone 和模拟器之间 dpi 的差异,您可能希望使用 480x320 的原始像素值来表示 iPhone 屏幕。
iPhone屏幕的DPI为163,但我发现在Xcode和Interface Builder中,该分辨率下的图像显得太小了。我建议在为iPhone制作位图图像时假装屏幕的DPI为72,但是请记住,如果你要画尺子,屏幕的DPI为163。
pngcrush -rem pHYs
)。 - tc.