This repository has been archived by the owner on Mar 16, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
iOS API
wkh237 edited this page Oct 12, 2016
·
15 revisions
Open a file in UIDocumentInteractionController, this is the default document viewer of iOS, supports several kinds of files.
This is a required field, the path to the document.
Optional field, a scheme like itms-books://
or so, throw error if the scheme is not supported. Notice that, if you're going to use extra scheme, you have to add an entry to LSApplicationQueriesSchemes
to info.plist
.
Show actions menu for interact with the file.
This is a required field, the path to the document.
Optional field, a scheme like itms-books://
or so, throw error if the scheme is not supported. Notice that, if you're going to use extra scheme, you have to add an entry to LSApplicationQueriesSchemes
to info.plist
.