Recipe: Using the Document Interaction Controller

The UIDocumentInteractionController class enables applications to present interaction options to users, enabling them to use document files in a variety of ways. With this class, users can take advantage of the following:

Image iOS application-to-application document sharing (that is, “Open this document in...some app”)

Image Document preview using Quick Look

Image Activity controller options such as printing, sharing, ...

Get The Core iOS Developer’s Cookbook, Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.