标签:ali log 本地json error: hda resource response with main
NSData * data = [NSData dataWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"demo001" ofType:@"json"]];
NSLog(@"第一个输出%@",data);
id jsonObject = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingAllowFragments error:&error];
NSDictionary *responseDic = jsonObject;
NSLog(@"第二个输出%@",responseDic);
标签:ali log 本地json error: hda resource response with main
原文地址:https://www.cnblogs.com/davidyff/p/8758839.html