iPhone 6模拟器的iPhone模拟器屏幕尺寸

时间:2021-07-12 15:59:17

What is the actual size for IOS 6 IPHONE SIMULATOR as when i m taking a screen shot of the screen its coming as 320x480 pixels. But I guess it should be 320x568 pixels.

IOS 6 IPHONE SIMULATOR的实际尺寸是什么,因为我拍摄的屏幕截图为320x480像素。但我猜它应该是320x568像素。

3 个解决方案

#1


5  

iOS 6 simulator runs at 640×1136 display. The new iPhone 5 -along with the iPod Touch 5th generation- has only one big change in terms of web development: screen resolution. These devices have a wide 4″ screen, WDVGA (Wide Double VGA) 640×1136pixels, 326 DPI -Retina Display as Apple called it. These devices have the same width as iPhone 4/4S but 176 more pixels-height on portrait mode.

iOS 6模拟器运行在640×1136显示器上。全新的iPhone 5 - 与iPod Touch第五代产品一样 - 在网页开发方面只有一个很大的变化:屏幕分辨率。这些设备有一个宽4英寸的屏幕,WDVGA(宽双VGA)640×1136像素,326 DPI -Retina显示器,如Apple称之为。这些设备具有与iPhone 4 / 4S相同的宽度,但在纵向模式下具有176个像素高度。

having a 640×1136 display puts the new iPhone on the wrong side of being able to claim the new iPhone has an HD display, though the quality of a Retina display may leave a question as to whether or not the phone is beyond HD. On a specs sheet the new iPhone will have a lower resolution display than competing devices, and that may hurt iPhone sales if Apple’s competition presses their advantage.

拥有640×1136的显示器使得新iPhone处于错误的一面,能够声称新的iPhone具有高清显示器,尽管Retina显示器的质量可能会留下一个关于手机是否超出HD的问题。在规格表上,新款iPhone的分辨率显示低于竞争对手的设备,如果苹果公司的竞争压制其优势,可能会损害iPhone的销量。

But for this you need select correct device in Hardware > Device menu.

但为此,您需要在硬件>设备菜单中选择正确的设备。

iPhone 6模拟器的iPhone模拟器屏幕尺寸

#2


2  

No, it should not. 320x480 is default iPhone resolution without Retina display. You can change this in menu (Hardware) of you simulator. iPhone 4S Retina display resolution will be 640x960, and iPhone 5 (which comes ONLY with Retina display, so you can't have 320x568) will have 640x1136

不,它不应该。 320x480是没有Retina显示屏的默认iPhone分辨率。您可以在模拟器的菜单(硬件)中更改此设置。 iPhone 4S Retina显示器分辨率将为640x960,而iPhone 5(仅配备Retina显示屏,因此你不能拥有320x568)将拥有640x1136

#3


0  

I just wanted to add an update for those of you running XCode 4.2 on Snow Leopard. If you want to run the simulator with the iPhone 5 resolution (and can't install newer versions of XCode), you can edit your Info.plist file for the iPhone 4 (Retina) to get the desired resolution.

我只想为那些在Snow Leopard上运行XCode 4.2的人添加更新。如果您想使用iPhone 5分辨率运行模拟器(并且无法安装较新版本的XCode),您可以编辑iPhone 4(Retina)的Info.plist文件以获得所需的分辨率。

To accomplish this, take the following steps

要完成此操作,请执行以下步骤

  1. Edit your Info.plist file in /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app/Contents/Resources/Devices/iPhone (Retina).deviceinfo/

    编辑/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone中的Info.plist文件Simulator.app/Contents/Resources/Devices/iPhone(Retina).deviceinfo /

  2. Open the .plist file in XCode and add the following key/value pairs,

    在XCode中打开.plist文件并添加以下键/值对,

    • eagle : 640
    • 老鹰:640

    • giraffe:1136
  3. Save the file and restart your simulator.

    保存文件并重新启动模拟器。

  4. Select iPhone (Retina) to see the new resolution.

    选择iPhone(Retina)以查看新分辨率。

Note: there is one caveat -- the surrounding iPhone device "hardware" graphic will not scale to the new resolution.

注意:有一点需要注意 - 周围的iPhone设备“硬件”图形不会扩展到新的分辨率。

#1


5  

iOS 6 simulator runs at 640×1136 display. The new iPhone 5 -along with the iPod Touch 5th generation- has only one big change in terms of web development: screen resolution. These devices have a wide 4″ screen, WDVGA (Wide Double VGA) 640×1136pixels, 326 DPI -Retina Display as Apple called it. These devices have the same width as iPhone 4/4S but 176 more pixels-height on portrait mode.

iOS 6模拟器运行在640×1136显示器上。全新的iPhone 5 - 与iPod Touch第五代产品一样 - 在网页开发方面只有一个很大的变化:屏幕分辨率。这些设备有一个宽4英寸的屏幕,WDVGA(宽双VGA)640×1136像素,326 DPI -Retina显示器,如Apple称之为。这些设备具有与iPhone 4 / 4S相同的宽度,但在纵向模式下具有176个像素高度。

having a 640×1136 display puts the new iPhone on the wrong side of being able to claim the new iPhone has an HD display, though the quality of a Retina display may leave a question as to whether or not the phone is beyond HD. On a specs sheet the new iPhone will have a lower resolution display than competing devices, and that may hurt iPhone sales if Apple’s competition presses their advantage.

拥有640×1136的显示器使得新iPhone处于错误的一面,能够声称新的iPhone具有高清显示器,尽管Retina显示器的质量可能会留下一个关于手机是否超出HD的问题。在规格表上,新款iPhone的分辨率显示低于竞争对手的设备,如果苹果公司的竞争压制其优势,可能会损害iPhone的销量。

But for this you need select correct device in Hardware > Device menu.

但为此,您需要在硬件>设备菜单中选择正确的设备。

iPhone 6模拟器的iPhone模拟器屏幕尺寸

#2


2  

No, it should not. 320x480 is default iPhone resolution without Retina display. You can change this in menu (Hardware) of you simulator. iPhone 4S Retina display resolution will be 640x960, and iPhone 5 (which comes ONLY with Retina display, so you can't have 320x568) will have 640x1136

不,它不应该。 320x480是没有Retina显示屏的默认iPhone分辨率。您可以在模拟器的菜单(硬件)中更改此设置。 iPhone 4S Retina显示器分辨率将为640x960,而iPhone 5(仅配备Retina显示屏,因此你不能拥有320x568)将拥有640x1136

#3


0  

I just wanted to add an update for those of you running XCode 4.2 on Snow Leopard. If you want to run the simulator with the iPhone 5 resolution (and can't install newer versions of XCode), you can edit your Info.plist file for the iPhone 4 (Retina) to get the desired resolution.

我只想为那些在Snow Leopard上运行XCode 4.2的人添加更新。如果您想使用iPhone 5分辨率运行模拟器(并且无法安装较新版本的XCode),您可以编辑iPhone 4(Retina)的Info.plist文件以获得所需的分辨率。

To accomplish this, take the following steps

要完成此操作,请执行以下步骤

  1. Edit your Info.plist file in /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app/Contents/Resources/Devices/iPhone (Retina).deviceinfo/

    编辑/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone中的Info.plist文件Simulator.app/Contents/Resources/Devices/iPhone(Retina).deviceinfo /

  2. Open the .plist file in XCode and add the following key/value pairs,

    在XCode中打开.plist文件并添加以下键/值对,

    • eagle : 640
    • 老鹰:640

    • giraffe:1136
  3. Save the file and restart your simulator.

    保存文件并重新启动模拟器。

  4. Select iPhone (Retina) to see the new resolution.

    选择iPhone(Retina)以查看新分辨率。

Note: there is one caveat -- the surrounding iPhone device "hardware" graphic will not scale to the new resolution.

注意:有一点需要注意 - 周围的iPhone设备“硬件”图形不会扩展到新的分辨率。