码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2015-04-29 19:46:58      阅读:1898      评论:0      收藏:0      [点我收藏+]

标签:too many arguments   sdwebimage   objc_msgsend   sdwebimagemanager   enable strict   

报错位置

SDWebImage里面一些类的方法
objc_msgSend(delegate, @selector(webImageManager:didFinishWithImage:forURL:), self, image, url);

报错内容

......SDWebImage/SDWebImageManager.m:246:22: Too many arguments to function call, expected 0, have 5

解决方法

选Build Settings,将 Enable Strict Checking of objc_msgSend Calls 设置为NO

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

标签:too many arguments   sdwebimage   objc_msgsend   sdwebimagemanager   enable strict   

原文地址:http://blog.csdn.net/u011439689/article/details/45370447

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!