//设置接受类型参数
manager.responseSerializer.acceptableContentTypes = [NSSet setWithObjects:
@"application/json",
@"text/html",
@"text/json",
@"text/plain",
@"text/javascript",
@"text/xml",
@"image/*",
nil];即可
//设置接受类型参数
manager.responseSerializer.acceptableContentTypes = [NSSet setWithObjects:
@"application/json",
@"text/html",
@"text/json",
@"text/plain",
@"text/javascript",
@"text/xml",
@"image/*",
nil];即可
本文标题:Afnetworking3.0请求数据 Error Domain
本文链接:https://www.haomeiwen.com/subject/nfozittx.html
网友评论