Xcode6.1以上使用MJRefresh 报错Too many arguments to fun解决方法

Xcode升级以后遇到的问题!将XCode升级到6和6.1后,报Too many arguments to function call, expected 0, have *,在XCode5.1里能编译通过的,到xcode6就报错objc

 

Xcode升级以后遇到的问题!

将XCode升级到6和6.1后,报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 即可

posted @ 2015-08-17 03:07  张雄杰vip  阅读(192)  评论(0编辑  收藏  举报