SG1
SG1

Reputation: 2891

UIDocumentInteractionController vs QLPreviewController on iOS

Can anyone who has used both comment on "What's the difference, and when should you use one over the other?" I have spent the last couple days adapting code from the DocInteraction sample to my own app, and the more familiar I become with these two kits, the less difference I see between them:

I just don't see any difference when switching between them except the color of the toolbar.

Of course I'm missing something (or wrong about those other points). Any thoughts?

Upvotes: 11

Views: 4928

Answers (1)

James
James

Reputation: 2376

UIDocumentInteractionController uses QLPreviewController to display. It allows for additional hooks for delegate methods.

Upvotes: 5

Related Questions