[英]Lazy loading with multiple scrollview and dynamic images
I having a hard time with this one and would appreciate any help, my problem is that I'm building a multiple image carousel in a tableview it contains custom cell with scroll view in each of them the scrollview display images from xml fetched thru the internet which means uiimageview is added runtime as a scrollview subview. 我在这方面遇到了困难,不胜感激,我的问题是,我正在用一个tableview构建一个多图像轮播,它包含带有滚动视图的自定义单元格,每个滚动视图中的滚动视图显示图像都是通过互联网从xml获取的这意味着uiimageview被添加为运行时的滚动视图子视图。 I want to lazy load these images so it will not take up too much memory. 我想延迟加载这些图像,以免占用太多内存。 The samples that I've found only uses 1 scrollview and predefined image count. 我发现的样本仅使用1个滚动视图和预定义的图像计数。
Thanks in advance! 提前致谢!
我推荐这个github项目https://github.com/rs/SDWebImage
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.