iOS simulator — swap from retina iPhone to non-retina iPad in a single step

不想你离开。 提交于 2019-12-04 19:37:50

Yes! and its super easy. In Xcode 4+ click the dropdown with the name of your target in it in the top menu bar next to the play button. Then click edit scheme.

Click the run action and then click the Options tab. You will see you can specify the type of screen you want to use when you click the play button (build and run) in Xcode.

Then when you switch device target in Xcode it will automatically switch the simulator to the right device and screen type for you.

Also if you're running less than iOS 5.1 the simulator will switch back to non-retina. Set SDK to 5.1+

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!