Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 710 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 710 Bytes

AZCrossDissolveImageSlideshow

Subclass of zvonicek/ImageSlideshow that supports fade transition between images

demo of cross dissolve between images

imageSlideshow.setImageInputs(/* ... */)

imageSlideshow.crossFadeDuration = 0.5
imageSlideshow.crossFadeInterval = 2.0
imageSlideshow.contentScaleMode = .scaleAspectFill

for item in imageSlideshow.slideshowItems {
    item.imageView.cornerRadius = 10
}
imageSlideshow.configurePreviewImageView = { imageView in
    imageView.cornerRadius = 10
}

Install

pod 'AZCrossDissolveImageSlideshow', :git => 'https://github.com/XiangWuShuo/AZCrossDissolveImageSlideshow.git'