How to load file data into NSString object? Example of nsstring load from file, basically the html file data into NSSTring object.
Use following code:
NSString *path = [[NSBundle mainBundle] pathForResource:@"file" ofType:@"txt"];
NSString *fileText = [NSString stringWithContentsOfFile:path];
Ask your questions, our development team will try to give answers to your questions.