美文网首页
Multiple methods named

Multiple methods named

作者: 秋天的田野 | 来源:发表于2017-03-27 17:54 被阅读169次

xcode编译报错 Multiple methods named 'count' found with mismatched result, parameter type or attributes

一般是id类型的对象类型不匹配造成的,只需要在对象前加强制类型转换即可,如

[(NSArray*)response count]>0

相关文章

网友评论

      本文标题:Multiple methods named

      本文链接:https://www.haomeiwen.com/subject/rkwrottx.html