Reading File From Application Bundle

NSString *path = [[NSBundle mainBundle] pathForResource:@"data" ofType:@"txt"];

NSData *data = [NSData dataWithContentsOfFile:file];



No comments:

Post a Comment