程序员人生 网站导航

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

栏目:综合技术时间:2015-07-29 08:13:01

报错位置

SDWebImage里面1些类的方法
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
------分隔线----------------------------
------分隔线----------------------------

最新技术推荐