Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ambiguous reference to member #291

Open
letien91 opened this issue Oct 24, 2019 · 1 comment
Open

Ambiguous reference to member #291

letien91 opened this issue Oct 24, 2019 · 1 comment

Comments

@letien91
Copy link

letien91 commented Oct 24, 2019

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:)'

@vitbulio
Copy link

vitbulio commented Nov 8, 2019

I have the same problem. Ambiguous reference to member 'request(_:withMethod:parameters:encoding:headers:)'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants