Too many arguments to function call,expected 0,have 3

Too many arguments to function call,expected 0,have 3

Xcode 8 报错
使用MJRefresh报错:Too many arguments to function call,expected 0,have 3

解决方法:Xcode 8 选中项目-Project-Build Setting- Enable Strict Checking of objc_msgSend Calls 修改为NO即可,亲测有效。

Xcode 其他版本关键字可能与此不同,错误相同可以找类似关键字试一试。

你可能感兴趣的:(Too many arguments to function call,expected 0,have 3)