Use the Quick Look framework to provide previews of items that are in formats you don’t handle—such as iWork or Microsoft Office. This framework affords you more control over the preview process than you get from the UIDocumentInteractionController
class—including choosing whether the preview is displayed in the context of a navigation controller or modally (full screen). The primary class in this framework is QLPreviewController
, which provides a specialized view for previewing an item. It relies on a delegate for mediating preview actions, and a data source for providing the preview items.
If you want to take advantage of the options-menu feature, which lets a user pick an application to open a previewed item with, use the UIDocumentInteractionController
class instead.
Framework | /System/Library/Frameworks/QuickLook.framework |
Header file directories | /System/Library/Frameworks/QuickLook.framework/Headers |
Last updated: 2010-04-19