如何将图像从 url 加载到 UITableViewCell? [英] How to load a image from url to UITableViewCell?

查看:22
本文介绍了如何将图像从 url 加载到 UITableViewCell?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 iOS 开发人员的新手,使用 Storyboard 我从 URL 获取 Image 并在滚动 UITableviewcell 时将图像加载到 UITableviewcellcode>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,

在 UITableView 中延迟加载图片

将图像从 URL 加载到 UITableViewCell 的 UIImageView

从 URL iphone sdk 加载图片到 tableView

在 UITableViewCell 中延迟加载图片

这篇关于如何将图像从 url 加载到 UITableViewCell?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆