March 2014
Intermediate to advanced
672 pages
40h 11m
English
Each document interaction controller is specific to a single document file. This file is typically stored in the user’s Documents folder, represented by the fileURL in this snippet:
dic = [UIDocumentInteractionController interactionControllerWithURL:fileURL];
You supply a local file URL and present the controller using either the “options” variation (basically the Action menu) or the “Open in...” style. Present the Options menu in one of these two styles from a bar button or an onscreen rectangle:
presentOptionsMenuFromRect:inView:animated:
presentOptionsMenuFromBarButtonItem:animated: ...
Read now
Unlock full access