[英]How pass data in seque ios5 storyboard uitableview to detail view
[英]Async Images Download in a UITableView using Storyboard & ios5
我有一個UITableView,我想異步下載圖像。 如何使用ios5和故事板?
提前致謝
我遇到了同樣的問題,我所做的就是從https://github.com/rs/SDWebImage提取SDWebImage,自己打開項目,然后手動將其升級到Objective C ARC(重構->轉換到Objective C ARC)。
轉換完成后,我將各個文件添加到了我的項目中,它的工作原理就像一個吊飾。 我只是
#import "UIImageView+WebCache.h"
然后在我的-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath方法中,它看起來像這樣:
[cell.videoImageView setImageWithURL:[NSURL URLWithString:thumbnailURLString]];
簡單!
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.