SwiftyOnboard icon indicating copy to clipboard operation
SwiftyOnboard copied to clipboard

UIPageControl dots isn't connected

Open volodymyrslipak opened this issue 6 years ago • 2 comments

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

volodymyrslipak avatar Aug 03 '18 01:08 volodymyrslipak

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

erayalparslan avatar Mar 22 '19 16:03 erayalparslan

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

a8thunder avatar Dec 02 '19 18:12 a8thunder