一千萬個為什麽

搜索

為什麽選擇iPad模擬器時Xcode會啟動iPhone模擬器?

當我在Xcode中打開現有的iPad項目並“構建並運行”它時,當我將iPad模擬器設置為活動可執行文件時,它會啟動iPhone模擬器嗎? iPhone模擬器內部是iPad的縮小版。到底是怎麽回事?如何讓它運行iPad模擬器?

Note: When the iPhone Simulator is running, I double checked the Hardware->Device setting and it's set to iPad. This is what I want, of course, but I don't want it to run the iPhone simulator. I seem to recall it used to run an iPad simulator. Is there such a thing or am I tripping and there is only an iPhone simulator that can run iPad apps?

在此先感謝您的幫助!

最佳答案

The iPhone simulator and the iPad simulator are the same application. If you're just concerned about the size of the iPad, go to Window -> Scale and choose "100%".

轉載註明原文: 為什麽選擇iPad模擬器時Xcode會啟動iPhone模擬器?