ios AFN 配置返回类型
2019-05-10 本文已影响0人
jokerlee
Manager.responseSerializer.acceptableContentTypes = [NSSet
setWithObjects:@"application/json", @"text/json",
@"text/javascript",@"application/x-\njson",@"text/html", nil];
Manager.responseSerializer.acceptableContentTypes = [NSSet
setWithObjects:@"application/json", @"text/json",
@"text/javascript",@"application/x-\njson",@"text/html", nil];