什么DPI分辨率用于iPhone应用程序?

我正在为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 – 如果您希望能够以实际大小打印屏幕devise,请在模板中使用该屏幕。

对于iPhone4 / 4s,请使用326 dpi

72是图像的dpi

鉴于iPhone与模拟器之间的dpi差异,您可能需要使用480×320的原始像素值作为iPhone屏幕。

iPhone屏幕有163 DPI,但我发现在Xcode和Interface Builder中,该分辨率下的图像显得太小。 我build议在为iPhone制作位图图像时假设屏幕具有72 DPI,但是请记住,如果您正在绘制标尺,则屏幕具有163 DPI。