evgenyneu / Auk

An image slideshow for iOS written in Swift.
MIT License
277 stars 44 forks source link

How to hide page control? #88

Closed cliff357 closed 4 years ago

cliff357 commented 4 years ago

Library setup method: CocoaPods Version of the library. 'moa', 12 'Auk', 11 Xcode version. : 11.5 OS version.: iOS 13.5.1

Hello, i want to hide page control, but unfortunately "scrollView.auk.settings.pageControl.visible = false" not work

Please kindly help :)

evgenyneu commented 4 years ago

Hi, thanks for reporting the issue. Do you set pageControl.visible = false before calling the show method? For example:

scrollView.auk.settings.pageControl.visible = false
scrollView.auk.show(image: image)
cliff357 commented 4 years ago

oh, i call it after the show. Should i call it before the show?

evgenyneu commented 4 years ago

Yes, pageControl.visible = false needs to be set before calling show.

cliff357 commented 4 years ago

success! thank you very much