[_NSInlineData objectForKeyedSubscript:]

reason: '-[_NSInlineData objectForKeyedSubscript:]: unrecognized selector sent to instance 0x7fa2049bf220'

原因是 后台设置的JSON字符和AFNetWorking解析的不一致

1.用 AFNetworking 进行数据处理的时候 加上`manager.responseSerializer= [AFJSONResponseSerializer serializer];`

2.在数据解析成功的方法里加上

NSString*result = [[NSString alloc] initWithData:responseObject encoding:NSUTF8StringEncoding];

NSDictionary * dic = [NSJSONSerialization JSONObjectWithData:responseObject options:NSJSONReadingAllowFragments error:nil];

NSLog(@"result1 = %@", result);

NSLog(@"dic = %@",dic);

你可能感兴趣的:([_NSInlineData objectForKeyedSubscript:])