iphone:What-are-your-options
出自UXGuide.net
请帮助我们修订和更新本文的译文部分
本文的译文部分可能是由多个贡献者提供或从不同的渠道收集,未经过最终审阅和整理,请您帮助我们一起修订和更新本文的译文部分。
你的选择是什么?
What Are Your Options?
Before you decide how to present your product to iPhone OS users, you need to understand the range of options you have. Depending on the implementation details of your proposed product and its intended audience, some types of software may be better suited to your needs than others.
在你决定怎样将你的产品呈现给iPhone操作系统的用户时,你需要了解你的选择范围。根据你提出的产品定义的实施细节及其目标人群,某些类型的软件可能比其他的软件更适合你的需求。
This section divides software for iPhone OS–based devices into three broad categories, primarily based on implementation method. Roughly speaking, you can create:
这一部分将基于iPhone操作设备的软件的实现方法划分成3个类型,粗略地说,您可以创建:
- An iPhone application, which is an application you develop using the iPhone SDK to run natively on iPhone OS–based devices.
- iPhone的应用程序,这是一个使用iPhone软件开发包开发出的可在iPhone操作设备上完美运行的应用程序。
- Web-only content, including web applications, which are websites that behave like built-in iPhone applications.
- 仅在网站上的内容,包括在线应用程序——一种表现与内置应用程序相似但实际上是网站的应用。
- A hybrid application, which is an iPhone application that provides access to web content primarily through a web-content viewing area, but includes some iPhone OS user interface elements.
- 混合应用程序,这是一个主要通过网上浏览区域来提供接入网站内容的iPhone应用程序,但包括一些iPhone操作系统的用户界面元素。
目录 |
iPhone应用程序 iPhone Applications
iPhone applications resemble the built-in applications on iPhone OS–based devices in that they reside on the device itself and take advantage of features of the iPhone OS environment. Users install iPhone applications on their devices and use them just as they use built-in applications, such as Stocks, Maps, Calculator, and Mail.
iPhone应用程序类似与iPhone操作设备的内置应用程序,它们被预装到设备中,并能方便容易的使用iPhone操作系统环境中的功能。用户安装iPhone应用程序跟他们使用内置程序一样,如股票,地图,计算器,邮件等。
An iPhone application is quick to launch and easy to use. Whether the application enables a task like sending email or provides entertainment to users, it is characterized by responsiveness, simplicity, and a beautiful, streamlined user interface.
一个iPhone应用程序应该是载入飞快且易于使用的。无论这个应用程序能够完成能发送邮件或者是娱乐任务,它必须具有以下特点:响应快,简单,美观且流线型的用户界面。
仅用于 Web 的内容 Web-only Content
You have a few different options when it comes to providing web-only content to iPhone OS users:
针对iPhone系统的用户,当说起仅在网站上的内容的应用程序的时候,你有一些不同的选择:
- Web 应用
Web applications Webpages that provide a focused solution to a task and conform to certain display guidelines are known as web applications, because they behave similarly to the built-in iPhone OS applications. A web application, like all web-only content, runs in Safari on iPhone; users do not install it on their devices, instead they go to the web application’s URL. 网页能为完成一个任务提供一个集中的解决方案,并且符合某些已知的网络应用程序的界面规范,因为他们的操作表现和iPhone操作系统的内置程序很相似。一个网络应用程序和所有仅在网站上的内容一样都要在iPhone上的Safari浏览器运行;用户无需在设备上安装他们,只需访问网络应用程序的网址即可。 - 优化的网页
Optimized webpages Webpages that are optimized for Safari on iPhone display and operate as designed (with the exception of any elements that rely on unsupported technologies, such as plug-ins, Flash, and Java). In addition, an optimized webpage correctly scales content for the device screen and is often designed to detect when it is being viewed on iPhone OS–based devices, so that it can adjust the content it provides accordingly. 在Safari中,网页的显示和操作,都将有计划的的被优化。(但不包括任何使用支持技术的元素,如插件,Flash和Java)。此外,优化后的网页将缩放网站内容使之适合设备的屏幕,并且网页应该检测当前是否正在iPhone 系统内浏览[1],以便对应地调整内容。 - 兼容网页
Compatible webpages Webpages that are compatible with Safari on iPhone display and operate as designed (with the exception of any elements that rely on unsupported technologies, such as plug-ins, Flash, and Java). A compatible webpage does not tend to take extra steps to optimize the viewing experience on iPhone OS–based devices, but the device usually displays the page successfully. 在Safari中,网页的显示和操作,都将有计划的的被兼容。(但不包括任何使用支持技术的元素,如插件,Flash和Java)。一个兼容的网页并不用更多的措施去优化阅读体验,但是iphone设备通常能够正常的显示他们。
If you have an existing website or web application, first ensure that it works well on iPhone OS–based devices. Also, you should consider creating a custom icon users can put on their Home screens using the Web Clip feature. In effect, this allows users to keep on their Home Screens a bookmark to your website that looks like a native application icon. To learn more about creating a custom icon and how to make web content look great on iPhone OS–based devices, see iPhone Human Interface Guidelines for Web Applications.
如果你有一个现成的网站或者网络应用程序,你首先要确保它能够在iPhone操作设备上良好的运行。同时,你应该考虑创建一个个性图标,用户通过粘贴你的URL地址即可把应用的快捷方式放至到桌面屏幕上。。实际上,这样的话,用户可以把你的应用的书签放置在桌面屏幕上,且看起来像一个完美的应用程序图标。想要了更多有关创造自定义图标以及怎样使你在iPhone操作设备上运行的网站内容看上去更优秀,请参阅《iPhone网络应用程序的人机界面指南》。
混合应用程序 Hybrid Applications
With iPhone OS, you can create an application that combines features of native applications and webpages. A hybrid application is a native iPhone application that provides most of its structure and functionality through a web viewing area, but also tends to contain standard iPhone OS user interface elements.
你可以在iPhone操作系统上创建一个结合本地程序以及网页功能的应用程序。混合应用程序是一个通过网络浏览区域提供大部分的结构和功能的本地iPhone应用程序,但也包含了标准的iPhone操作系统的用户界面元素。
A hybrid application gives users access to web content with an element called a web view (described in “Web Views”). Precisely how you use a web view in your application is up to you, but it’s important to avoid giving users the impression that your application is merely a mini web browser. A hybrid application should behave and appear like a native iPhone application; it should not draw attention to the fact that it depends upon web sources.
混合应用程序允许用户可以通过网络视图(参见 Web 视图)元素获取到网络内容(了解“网络视图”)。而具体在你的应用程序中如何应用网络视图是你的责任,但很重要的一点是避免让用户认为你的应用程序仅仅只是一个小型网络浏览器。混合应用程序的操作行为及其呈现方式应该像本地iPhone应用程序一样,不应该只注意到它是取决于网络资源的事实。(所以就照搬网页的用户界面)
译者注释
- ^ 这里的意思是,应该通过检测User-Agent(UA),并自动调整内容。