Open letien91 opened 4 years ago
Hi, I tried to call request api:
AF.request(URL.init(string: "")!, method: .get, parameters: [:], encoding: URLEncoding.default, headers: HTTPHeaders()) .responseObject { (response) in }
but it always show: Ambiguous reference to member 'responseObject(queue:keyPath:mapToObject:context:completionHandler:)'
Ambiguous reference to member 'responseObject(queue:keyPath:mapToObject:context:completionHandler:)'
I have the same problem. Ambiguous reference to member 'request(_:withMethod:parameters:encoding:headers:)'
Hi, I tried to call request api:
but it always show:
Ambiguous reference to member 'responseObject(queue:keyPath:mapToObject:context:completionHandler:)'