Create previews of files to use inside your app, or perform simple edits on previews.
- iOS 4.0+
- macOS 10.5+
- Mac Catalyst 13.0+
When showing files in your app, including the ability to quickly preview a file and its content can be helpful to your users. For example, you may want to allow users to zoom into a photo, play back an audio file, and so on. Use the QuickLook framework to show a preview of common file types in your app that allow basic interactions. QuickLook can generate previews for common file types, including:
iWork and Microsoft Office documents
Audio and video files
Augmented reality objects that use the usdz file format (iOS and iPadOS only)
On iOS devices, the QuickLook framework provides functionality for performing simple edits on previews of common file types; for example, users can add markup to an image. To perform more advanced edits on files, provide advanced playback features, display a file’s content next to text, or add views on top of the preview, use lower-level APIs. For example, use
AVPlayer to provide advanced video playback features.