<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "QuickLook",
  "identifier" : "/documentation/QuickLook",
  "metadataVersion" : "0.1.0",
  "role" : "Framework",
  "symbol" : {
    "kind" : "Framework",
    "modules" : [
      "Quick Look"
    ],
    "preciseIdentifier" : "QuickLook"
  },
  "title" : "Quick Look"
}
-->

# Quick Look

Create previews of files to use inside your app, or perform simple edits on previews.

## Overview

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 Quick Look framework to show a preview of common file types in your app that allows basic interactions. Quick Look can generate previews for common file types, including:

- iWork and Microsoft Office documents
- Images
- Live Photos
- Text files
- PDFs
- Audio and video files
- Augmented reality objects that use the USDZ file format (iOS and iPadOS only)

On iOS devices, the Quick Look 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 <doc://com.apple.documentation/documentation/AVFoundation/AVPlayer> to provide advanced video playback features.

You can provide previews for your own data types by either rendering a view with your own view controller or by returning a supported preview format, such as PDF or HTML.

> Note:
> The list of supported common file types may change between operating system releases.

### Providing Quick Look previews for your data types

To provide Quick Look previews for your own file types, create a Quick Look preview extension with either a view controller or data-based preview. In either case, add your supported content types to the `QLSupportedContentTypes` array in the `Info.plist` file of the extension.

To provide a view controller-based preview extension, set up a <doc://com.apple.documentation/documentation/UIKit/UIViewController> that conforms to <doc://com.apple.documentation/documentation/QuickLookUI/QLPreviewingController>. Prepare and display the view within the <doc://com.apple.documentation/documentation/QuickLookUI/QLPreviewingController/preparePreviewOfFile(at:completionHandler:)> method.

To provide a data-based preview extension, implement a subclass of <doc://com.apple.documentation/documentation/QuickLookUI/QLPreviewProvider> to provide a <doc://com.apple.documentation/documentation/QuickLookUI/QLPreviewReply> based on the <doc://com.apple.documentation/documentation/QuickLookUI/QLFilePreviewRequest> that the system provides.

## Topics

### Previews

[`QLPreviewController`](/documentation/QuickLook/QLPreviewController)

A specialized view controller for previewing an item.

  <doc://com.apple.documentation/documentation/QuickLookUI/QLPreviewItem>

[`QLPreviewSceneActivationConfiguration`](/documentation/QuickLook/QLPreviewSceneActivationConfiguration)

A scene configuration to preview items at the specified URLs.

[Previews or thumbnail images for macOS 10.14 or earlier](/documentation/QuickLook/previews-or-thumbnail-images-for-macos-10-14-or-earlier)

Create thumbnail images or previews of common files and custom file types in earlier versions of macOS.

### Preview extensions

  <doc://com.apple.documentation/documentation/QuickLookUI/QLPreviewingController>

### Data-based preview extensions

  <doc://com.apple.documentation/documentation/QuickLookUI/QLPreviewProvider>

  <doc://com.apple.documentation/documentation/QuickLookUI/QLFilePreviewRequest>

  <doc://com.apple.documentation/documentation/QuickLookUI/QLPreviewReply>

  <doc://com.apple.documentation/documentation/QuickLookUI/QLPreviewReplyAttachment>



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)