xcode67 使用MJRefresh,报错:Too many arguments to function call, expected 0, have......

it2022-05-09  20

将XCode升级到6后,报Too many arguments to function call, expected 0, have *,在XCode5.1里能编译通过的,到xcode6就报错objc_msgSend(self.beginRefreshingTaget, self.beginRefreshingAction, self);Too many arguments to function call, expected 0, have *解决方案:选中项目 - Project - Build Settings - ENABLE_STRICT_OBJC_MSGSEND 将其设置为 NO 即可

转载于:https://www.cnblogs.com/luqinbin/p/5102523.html

相关资源:数据结构—成绩单生成器

最新回复(0)