NSError *error;
NSPropertyListFormat format;
//responseObject是请求到的data数据
NSDictionary *Dic = [NSPropertyListSerialization propertyListWithData:responseObject options:NSPropertyListImmutable format:&format error:&error];
NSError *error;
NSPropertyListFormat format;
//responseObject是请求到的data数据
NSDictionary *Dic = [NSPropertyListSerialization propertyListWithData:responseObject options:NSPropertyListImmutable format:&format error:&error];
本文标题:请求到的数据是NSData格式,转换成NSDictioary
本文链接:https://www.haomeiwen.com/subject/ptkuattx.html
网友评论