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

RNFetchBlob.ios

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. The path should NOT contains any scheme prefix.

ios.previewDocument(path:string)

RNFetchBlob.ios.previewDocument(pathToLocalFile)

Show actions menu for interact with the file.

path:string

This is a required field, the path to the document. The path should NOT contains any scheme prefix.

RNFetchBlob.ios.openDocument(pathToLocalFile)
Clone this wiki locally