forked from wkh237/react-native-fetch-blob
-
Notifications
You must be signed in to change notification settings - Fork 792
iOS API
wkh237 edited this page Oct 12, 2016
·
17 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
.