开发者

How to get iphone 4 on the simulator device menu

I just downloaded the latest SDK from apple, and installed without a problem, but I still don't have iPhone 4 in开发者_运维问答 the device menu on the simulator. The simulator says it is version 4.2 (235). Anyone have any clues about this?


When you download the latest Xcode,and run your program in simluator,the iPhone 4 simulator is launched by default,so you don't have to worry about that.

Cheers


OK, I found out that Hardware->Device->iPhone (Retina) is actually iPhone 4. I had thought it wasn't, in part because the reported screen resolution was 320x480. See this link for a thorough discussion about this. Aditya is wrong when he says "the iPhone 4 simulator is launched by default". This actually depends on your build settings, targeted device family.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜