我应该考虑什么来确保将我的iPhone应用程序无缝移植到iPad? [英] What should I consider to ensure seamless port of my iPhone apps to iPad?

查看:98
本文介绍了我应该考虑什么来确保将我的iPhone应用程序无缝移植到iPad?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

按照 iPad 的公告和其SDK(iPhone SDK 3.2),将应用程序移植到iPad成为一个重要问题。我应该在iPhone应用程序中遵循哪些指导方针,以确保我能够尽可能无缝地将其移植到iPad?

Following iPad's announcement and its SDK (iPhone SDK 3.2), porting apps to iPad becomes an important issue. What guidelines I should follow in my iPhone apps to ensure I can port it to iPad as seamlessly as possible?

不同的分辨率尤其是一个重要的问题。虽然iPad未经修改地运行iPhone应用程序,但它并不是原生应用程序的理想行为。我们如何使我们的iPhone应用程序独立于分辨率,以便它们可以在大多数桌面应用程序的所有分辨率上正常运行?

The different resolution is particularly an important issue. While the iPad runs iPhone apps unmodified, it's not really the desirable behavior for a native app. How can we make our iPhone apps resolution-independent so that they can run gracefully on all resolutions like most desktop apps?

推荐答案

如果您一直在使用IB并正确设置元素的调整大小行为,并且还编码相对于每个元素的帧坐标另外,你有一个可以扩展到更大屏幕的UI的一半。

If you've been using IB and setting the resize behaviors of elements properly, and also coding frame coordinates all relative to each other you are half-way to having a UI that can potentially scale to a larger screen.

从屏幕截图中也有新的动作表,可能附加到UI元素而不是浮动 - 如果你今天使用叠加,他们可能会工作相同但您可能需要考虑在较大的显示屏上更改中心的位置。

From the screen shots there are new kinds of action-sheets as well, potentially attached to UI elements instead of floating - if you use overlays today they will probably work about the same but you may want to consider changing placement from the center on larger display.

更新:

现在事件已经结束,注册开发人员可以下载SDK - 虽然我们暂时还不能谈论具体功能,但请阅读与新操作系统版本相关的所有文档,因为有许多内容旨在帮助您过渡到支持两者平台。在开始使用自定义库之前,请先查看API更改,看看今天可能支持哪些新功能。

Now the event is over, and registered developers can download the SDK - although we cannot talk about specific features here just yet, read through ALL of the documents related to the new OS version as there are a number of things aimed at helping you transition to supporting both platforms. Also before you start using custom libraries for things take a look through the API changes to see what new abilities might be supported that are not today.

一般来说,我说的是什么上面关于IB的说法是正确的,你也应该开始考虑今天你的应用程序如何使用更多空间来一次呈现更多信息,而不是分散在多个屏幕上。此外,如果您正在进行任何使用图像的项目,请确保最初设计的图像足够大,您也可以将它们用于更高分辨率的平板电脑应用程序。

Generally speaking, what I said above about IB holds true, and also you should start thinking about how your apps today could use more space to present more information at once instead of being split out over multiple screens. Also if you are doing any projects right now that use images, make sure to initially design the images large enough that you can also use them for higher resolution tablet applications.

这篇关于我应该考虑什么来确保将我的iPhone应用程序无缝移植到iPad?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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