I am getting the data of the file from network and receiving it in NSData(not saving it any were). I want to view the files without saving it anywere.
I tried it with UIWebView but with no success
[webView loadData:data_ MIMEType:@”text” textEncodingName:@”UTF-8″ baseURL:nil];
Any hint in right direction would be highly appreciated.
The MIME type is probably not correct. Here is a list of MIME types, which includes types for handling text files of various formats.
You might also edit your question to include how you are instantiating the
NSDatainstancedata__.