Monday, 27 February 2012

Reading Text fille content from Application Bundle



NSString *filePath = [[NSBundle mainBundle] pathForResource:@"EAP" ofType:@"txt"];

NSString *strData = [[NSString alloc] initWithContentsOfFile:filePath];
NSLog(@"Info :%@",strData);

No comments:

Post a Comment