
Hi,
How to load file data into NSString object? Example of nsstring load from file, basically the html file data into NSSTring object.
Thanks

Hi,
Use following code:
NSString *path = [[NSBundle mainBundle] pathForResource:@"file" ofType:@"txt"];
NSString *fileText = [NSString stringWithContentsOfFile:path];
Thanks
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.