读取本地文件,获取string 或者 data
NSString *path = [[NSBundle mainBundle] pathForResource:@"xxx" ofType:@"xxx"];
NSError *error = nil;
NSString *content = [NSString stringWithContentsOfFile:path encoding:NSUTF8StringEncoding error:&error];
NSData * data = [NSData dataWithContentsOfFile: path];