Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slide Show Images stuck when it reached to 4th index #419

Open
awaisiqbaldev opened this issue Jun 9, 2021 · 1 comment
Open

Slide Show Images stuck when it reached to 4th index #419

awaisiqbaldev opened this issue Jun 9, 2021 · 1 comment

Comments

@awaisiqbaldev
Copy link

Hi, I have added total 6 images. And when slideshow comes to 4th index. It stuck and not move to next image.

override func viewWillAppear(_ animated: Bool) {
self.imagesSlideShow.setImageInputs([ImageSource(image: UIImage(named: "1")!),ImageSource(image: UIImage(named: "4")!),ImageSource(image: UIImage(named: "3")!),ImageSource(image: UIImage(named: "2")!),ImageSource(image: UIImage(named: "5")!),ImageSource(image: UIImage(named: "7")!)])
self.imagesSlideShow.contentMode = .scaleToFill
self.imagesSlideShow.slideshowInterval = 2
self.imagesSlideShow.draggingEnabled = false
self.imagesSlideShow.circular = true
self.imagesSlideShow.contentScaleMode = UIViewContentMode.scaleAspectFill
self.imagesSlideShow.delegate = self
}

@apphardtask
Copy link

Hi @awaisiqbaldev

Did you find solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants