更新时间:2023-02-23 17:48:12
我认为您只需要一个两层引用(下面的最后一行),除非我误会了某些东西:
I think you just need to have a two layer reference (last line below) unless I'm misunderstanding something:
NSString *response = [[NSString alloc] initWithContentsOfURL:yourSourceUrl];
const char *convert = [response UTF8String];
NSString *responseString = [NSString stringWithUTF8String:convert];
NSArray *ads = [responseString JSONValue];
NSLog(@"%@",[[ads objectAtIndex:0] objectAtIndex:1]); //Hyr ut i natt