iOS-HIG 系统能力-快速浏览

Quick Look

Within your app, Quick Look lets people preview Keynote, Numbers, Pages, and PDF documents, as well as images and other types of files, even if your app doesn't support those file formats. Mail uses Quick Look for viewing attachments. After downloading an attachment, Mail shows the attachment’s icon and file name within the message. Tapping the icon displays a preview of the attachment.

在你的应用中,快速浏览,让用户预览Keynote, Numbers, Pages, and PDF documents和其他类型的文件,即使你的app不支持这些文件格式。邮箱使用Quick Look来浏览附件。在下载完一个附件之后,邮箱在这个信息里显示显示这个附件按钮和文件名。敲击一个图标预览附件。

Present previews appropriately for the current context.On iPhone, if your app has a navigation bar, slide the preview into place like any other view in your app’s hierarchy. On iPads, or if your app doesn’t have its own navigation bar, open the preview in a full-screen modal view that includes a navigation bar. With both methods, the navigation bar includes a button for exiting Quick Look, as well as preview-specific buttons for performing actions such as sharing and markup. If your app includes a toolbar, any preview-specific buttons appear here instead of in the navigation bar.

为当前环境显示合适的预览。在iPhone中,如果你的app有一个导航栏,滑动到这个预览像打开一个你的app的任意其他层级一样。在iPads上,或者如果你的app没有它自己的导航栏,用全屏视图打开预览包括一个导航栏。在两种方法中,导航栏包括一个按钮离开Quick Look,也包括特定预览按钮来演示操作例如分享和标记。如果你的app包括一个工具栏,任何预览特定的按钮显示在工作栏上而不是导航栏。

For developer guidance, seeDocument Interaction Programming Topics for iOSandQuick Look.

你可能感兴趣的:(iOS-HIG 系统能力-快速浏览)