iOS objc_msgSend 报错解决方案

Swift 中使用MJRefresh时,objc_msgSend(self.beginRefreshingTaget, self.beginRefreshingAction, self);

这句代码提示错误 Too many arguments to function call, expected 0, have 3

解决方案:选中项目 -> Project -> Build Settings -> Preprocessing -> Enable Strict Checking of objc_msgSend Calls  将其设置为 NO 即可


iOS objc_msgSend 报错解决方案_第1张图片

你可能感兴趣的:(iOS objc_msgSend 报错解决方案)