iphone read txt file from UIWebView
Posted
by Ni
on Stack Overflow
See other posts from Stack Overflow
or by Ni
Published on 2010-04-14T19:36:54Z
Indexed on
2010/04/14
19:43 UTC
Read the original article
Hit count: 316
I can read the data in file.txt file located in local disk.
NSString *filePath = [[NSBundle mainBundle] pathForResource:@"file" ofType:@"txt"];
NSString* Data = [NSString stringWithContentsOfFile:filePath encoding:NSUTF8StringEncoding error:&error ];
now, I upload the file.txt file into a website. how can i read the data from the txt file now from UIWebView?
Please help!!
© Stack Overflow or respective owner