在使用AFNetworking 3.0 报错 Assertion failure in -[AFJSONRequestSerializer requestWithMethod:URLString:parameters:error:]
修改为
NSString *URLStr = [NSString stringWithFormat:@"http://xxxxxxxxxx"];
NSString *URL = [URLStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
即可