QLPreviewController class or Quick Look Preview Controller provides us facility to previewing an item. For displaying a QLPreviewController we have 2 options: - by pushing it into view using a UINavigationController object. OR - by presenting it modally, fullScreen using the presentModalViewController:animated: method of its parent class(UIViewController).
We can use preview controller to display previews for following items: - Images, - PDF files, - Rich Text Format(RTF) documents, - MSOffice documents(Office'97 and newer), - iWork documents, - Comma-separated value(csv) files
In iOS QLPreviewController class is available in the QuickLook.framework, so it is mandatory to import that framework for using features of QLPreviewController class.
Markdown for AI
A clean, structured version of this page for AI assistants and LLMs.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
QLPreviewController class or Quick Look Preview Controller provides us facility to previewing an item. For displaying a QLPreviewController we have 2 options:
- by pushing it into view using a UINavigationController object. OR
- by presenting it modally, fullScreen using the presentModalViewController:animated: method of its parent class(UIViewController).
We can use preview controller to display previews for following items:
- Images,
- PDF files,
- Rich Text Format(RTF) documents,
- MSOffice documents(Office'97 and newer),
- iWork documents,
- Comma-separated value(csv) files
In iOS QLPreviewController class is available in the QuickLook.framework, so it is mandatory to import that framework for using features of QLPreviewController class.