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