xcode6 使用MJRefresh,Too many arguments to function call, expected 0, have *

来源:互联网 发布:网络网禁小说网盘资源 编辑:程序博客网 时间:2024/06/05 11:02

转载自:  http://blog.csdn.net/wsjshx/article/details/40743291

将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 即可


0 0
原创粉丝点击