Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

RTF file and document viewer

$
0
0

Hi, I am using below code var fileloc = Ti.Filesystem.getFile(Ti.Filesystem.applicationDataDirectory, filename);

fileloc.write(this.responseData);

// write to the file

viewer = Ti.UI.iOS.createDocumentViewer({ url : fileloc.nativePath });

viewer.show();

to show downloaded files using document viewer in ios .I am able to view doc,docx files.But I am not able to view contents of rtf files.

Does document viewer not support .rtf files?or any code changes required?

Thanks Param


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>