草庐IT

errResponse

全部标签

ios - 在 AFNetworking 3.0 失败 block 上获取 responseObject

如何从AFNetworking3.x中的失败block获取响应字符串,在2.x版本中,这样做的方式是:[managerGET:pathparameters:parameterssuccess:^(AFHTTPRequestOperation*operation,idresponseObject){NSDictionary*dictionary_FetchResult=responseObject;}failure:^(AFHTTPRequestOperation*operation,NSError*error){NSDictionary*dictionary_FetchResult=o

ios - 在 AFNetworking 3.0 失败 block 上获取 responseObject

如何从AFNetworking3.x中的失败block获取响应字符串,在2.x版本中,这样做的方式是:[managerGET:pathparameters:parameterssuccess:^(AFHTTPRequestOperation*operation,idresponseObject){NSDictionary*dictionary_FetchResult=responseObject;}failure:^(AFHTTPRequestOperation*operation,NSError*error){NSDictionary*dictionary_FetchResult=o