Skip to content
wkh237 edited this page Oct 12, 2016 · 17 revisions

ios.openDocument(path:string)

Open a file in UIDocumentInteractionController, this is the default document viewer of iOS, supports several kinds of files.

path:string

This is a required field, the path to the document.

ios.previewDocument(path:string)

RNFetchBlob.ios.previewDocument(path)

Show actions menu for interact with the file.

<img src="https://raw.githubusercontent.com/wkh237/react-native-fetch-blob/master/img/action-menu.png" width="300/>

path:string

This is a required field, the path to the document.

Clone this wiki locally