view .txt, .pdf files in iphone
Posted
by Ekra
on Stack Overflow
See other posts from Stack Overflow
or by Ekra
Published on 2010-05-23T12:28:19Z
Indexed on
2010/05/23
12:30 UTC
Read the original article
Hit count: 508
Hi friends, 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.
© Stack Overflow or respective owner