iPhone 6.1 Simulator

本秂侑毒 提交于 2019-12-24 02:21:01

问题


I am just starting to learn programming for the iPhone and I had a very general question.

I was wondering why is it that when I run my program in xcode, even though I am programming for iPhone 5, when I run the "iPhone 6.1 Simulator" instead of a iPhone 5 Simulator and iPhone 4 pops up?

I am on Mac OS X - 10.7.5 And Xcode version 4.6

Could it be because the apple id I used to download xcode with only has an iPhone 4 and not a 5?

Thanks for the help.


回答1:


To change your simulator device to other screen resolutions go to Simulator - Device - Retina 4 inch (for iPhone 5) and Retina 3.5 inch for iPhone 4/4S. Use iPhone for iPhone 3GS resolution.

In the Window menu you can change the scale to fit your Mac's screen resolution. (I use 75% for iPhone Retina 3.5 inch).

I also suggest you download iOS 5.1 Simulator if you want to deploy apps for iOS 5.1 and up - it comes really handy and it actually does have some differences from iOS 6.




回答2:


Choosing "iPhone 6.1 Simulator" is telling Xcode that you want to use the currently selected iPhone simulator with iOS 6.1.

To select the specific iPhone simulator you need to click on the Hardware then Device menu in the simulator.

Your Apple Id and your registered devices have nothing to do with this.



来源:https://stackoverflow.com/questions/15254918/iphone-6-1-simulator

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