juanpablofernandez / SwiftyOnboard

A swifty iOS framework that allows developers to create beautiful onboarding experiences.
MIT License
1.25k stars 105 forks source link

UIPageControl dots isn't connected #28

Open volodymyrslipak opened 6 years ago

volodymyrslipak commented 6 years ago

UIPageControl dots isn't connected with code, it doesn't work, pages is working, but dots not moving

@IBOutlet weak var contentControl: UIPageControl! --- with empty circle connection, and got error if launch without connection

Swift 4 xCode 9

erayalparslan commented 5 years ago

I found a solution: 1 - On CustomOverlay.xib, the page control is connected to something called pageControl. Delete it 2 - Make IBOutlet connection from the page controller to contentColler which located in CustomOverlay.swift file 3 - In your view controller, replace overlay.pageController with overlay.contentControl

a8thunder commented 4 years ago

help me!!! my project not found overlay.contentControl , after remove pageControl and connection contentControl in CustomOverlay.swift file. thank you. Screen Shot 2019-12-03 at 01 32 42