开发iPhone应用程序以在iPad上运行 - 自动设置2倍 [英] Developing iPhone app to Run on iPad - Auto Set 2x

查看:135
本文介绍了开发iPhone应用程序以在iPad上运行 - 自动设置2倍的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法以编程方式将iPad设置为以2倍的速度运行iPhone应用程序(但保持iPhone应用程序原生)。我知道我可以为每个硬件平台创建NIB文件,但是为了方便起见,我只是希望应用程序启动,好像用户已经在iPad上点击了2x。谢谢...... R.J。

Is there a way to programmatically set the iPad to run the iPhone app at 2x as it is launched (yet keep the iPhone app native). I understand I can create NIB files for each hardware platform, but for ease, I just would rather the app launch as if the user had tapped the 2x on the iPad. Thanks...R.J.

推荐答案

没有。像素倍增的malarkey不在你应用程序的控制之下,对于不是为iPad设计的应用程序来说几乎是一个拐杖。如果您对原始代码中的特定像素测量结果不满意,那么移动到更大的屏幕应该不难。

No. The pixel-doubling malarkey is not under your app's control, and is pretty much a crutch for apps that weren't designed for the iPad. If you didn't go nuts with specific pixel measurements in the original code, it shouldn't be difficult to move to the larger screen.

这篇关于开发iPhone应用程序以在iPad上运行 - 自动设置2倍的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆