'Method' is ambiguous for type lookup in this context, Error in Alamofire

后端 未结 11 1615
灰色年华
灰色年华 2020-12-20 10:52

I am using Alamofire for network handling in swift and run into one weird error. It seems like we can\'t pass Method enum as parameter.
[Error is on Method para

11条回答
  •  自闭症患者
    2020-12-20 11:17

    You may have a class declared in two or more places in your application. The error is saying that there is no conclusive way to use this class because there are a couple different places in the code it is declared.

提交回复
热议问题