开发者

UITableViewCell and UIImageView

I'm currently trying to fix the performance of my UITableView. Basically all it is is a custom UITableViewCell with a UIImageView.

At the moment, this image is loaded in the tableView:willDisplayCell: method, however the performance is pretty bad so I decided to try and load t开发者_运维问答he image asynchronously using an NSThread, but this results in the UITableView looking really weird (it jumps all over the place and loads the images oddly).

Does anybody have the best way to load images in UITableViewCells?


Have you tried loading it in

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath

and making it a reusable cell?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜