如何将图像从URL加载到UITableViewCell? [英] How to load a image from url to UITableViewCell?
本文介绍了如何将图像从URL加载到UITableViewCell?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是iOS开发人员的新手,使用 Storyboard
我从网址获取图片
并将图片加载到 UITableviewcell 当滚动 tableview
时,表格会滚动得很慢并且会滚动。
I am new to iOS developer, using Storyboard
I get Image
from the URL and load an image to the UITableviewcell when scroll the tableview
the table will scroll very slowly and struck to scroll.
推荐答案
在这里查看以下链接,你应该使用延迟加载,
Here check ou the following links , you should use lazy loading for this,
将图片从URL加载到UITableViewCell的UIImageView
这篇关于如何将图像从URL加载到UITableViewCell?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文