0
로컬 디스크에있는 file.txt 파일에서 데이터를 읽을 수 있습니다.iphone은 UIWebView에서 txt 파일을 읽습니다.
NSString *filePath = [[NSBundle mainBundle] pathForResource:@"file" ofType:@"txt"];
NSString* Data = [NSString stringWithContentsOfFile:filePath encoding:NSUTF8StringEncoding error:&error ];
이제 file.txt 파일을 웹 사이트에 업로드합니다. 어떻게하면 UIWebView에서 txt 파일의 데이터를 읽을 수 있습니까?
도와주세요 !!
그래! 감사합니다! –