适用于 iPhone 5- 1136 x 640 分辨率的 iOS 模拟器 [英] iOS simulator for iPhone 5- 1136 x 640 resolution

查看:38
本文介绍了适用于 iPhone 5- 1136 x 640 分辨率的 iOS 模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能的重复:
如何为 iPhone 5 测试应用

在 xcode 4.2 及更高版本中,我们可以找到用于视网膜显示和非视网膜显示的设备.这意味着作为 iOS 模拟器,326 ppi 时的 960 x 640 像素分辨率"和163 ppi 时的 480 x 320 像素分辨率".
(在 iOS Simulator 菜单栏中,Hardware > Device > iPad/iPhone/iPhone(Retina)).

In xcode 4.2 and above we can find the both device for retina display and non retina display. that means '960-by-640-pixel resolution at 326 ppi' and '480-by-320-pixel resolution at 163 ppi' as iOS Simulator.
(in iOS Simulator menu bar, Hardware > Device > iPad/iPhone/iPhone(Retina)).

如何从模拟器中为新 iPhone 5 选择设备(1136 x 640 像素分辨率,326 ppi)..?

How can i choose device from Simulator for new iPhone 5 (1136-by-640-pixel resolution at 326 ppi) ..?

推荐答案

Richard 和 NSPostWhenIdle 都是正确的.您需要更新到 Xcode 4.5 GM,然后您会看到iPhone (Retina 4-inch)"选项,即 iPhone 5 显示屏.

Both Richard and NSPostWhenIdle are correct. You need to updated to Xcode 4.5 GM, then you'll see an option for "iPhone (Retina 4-inch)", which is the iPhone 5 display.

这篇关于适用于 iPhone 5- 1136 x 640 分辨率的 iOS 模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆