How to pass image value to the ImageSlideshow using Swift(如何使用SWIFT将图像值传递到ImageSlidesshow)
本文介绍了如何使用SWIFT将图像值传递到ImageSlidesshow的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用SDWebImage将图像放入ImageSlidesshow。我可以获取图像,但无法设置格式。我希望我说得有道理。
推荐答案
尝试将SDWebImage
添加到ImageSlideshow
为幻灯片放映创建插座
@IBOutlet var slideshow: ImageSlideshow!
使用示例:
此外:
How to set ImageSlideshow image sources for ImageSource, SDWebImage, AFURLSource, AlamofireSource, KingfisherSource.
更新: 您必须安装它。
运行pod install
这篇关于如何使用SWIFT将图像值传递到ImageSlidesshow的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!