开发者

Run a universal app as a 'legacy' iPhone app on an iPad

开发者 https://www.devze.com 2023-01-02 21:47 出处:网络
I do most development testing on my iPad. When I test an iPhone app, it runs in \'compatibility\' mode where the little iPhone app runs in a small window or x2 m开发者_运维知识库agnification. Now that

I do most development testing on my iPad. When I test an iPhone app, it runs in 'compatibility' mode where the little iPhone app runs in a small window or x2 m开发者_运维知识库agnification. Now that I've created a universal app it runs as a native iPad app. For testing I'd like to use the simulated iPhone when I don't have an iPhone handy for testing.

How can I build the project so that the iPad will run the app in compatibility mode?


Turns out it was really simple

  • Get Info for the project target
  • Change Targeted Device Family to iPhone


You can't. If the target is 3.2 SDK, then it will always run the simulator as an iPad. So your options are to debug on a device, or configure your app to be build under 3.1.3 so that the simulator will be an iPhone (too much trouble and unreliable).

Or hope for a later release with the option.

0

精彩评论

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