小编Chi*_*him的帖子

SDWebImage:setImageWithURL在用于设置UITableViewCell的图像时失败

当调用setImageWithURL时,它失败并跟随,

[UIImageView setImageWithURL:placeholderImage:]:无法识别的选择器发送到实例0x149a20 2011-12-14 18:11:38.060 [781:707]由于未捕获的异常'NSInvalidArgumentException'终止应用程序,原因:' - [UIImageView setImageWithURL:placeholderImage:] :无法识别的选择器发送到实例0x149a20'

我可以确认我已SDWebImage正确包含项目和必需的标题,因为我可以成功使用SDWebImageManager.

以下是我调用UIImageView类别方法的代码 setImageWithURL

NSURL* url = [NSURL URLWithString:@"www.abc.com/abc.png"];
[cell.imageView setImageWithURL:url placeholderImage:[UIImage imageNamed:@"abc.png"]];    
Run Code Online (Sandbox Code Playgroud)

uitableview sdwebimage

15
推荐指数
4
解决办法
2万
查看次数

从UIWebView访问元数据

如何访问iOS中加载到UIWebView中的HTML页面的元数据?

uiwebview meta-tags ios

2
推荐指数
1
解决办法
4661
查看次数

标签 统计

ios ×1

meta-tags ×1

sdwebimage ×1

uitableview ×1

uiwebview ×1