ISPageControl
ISPageControl copied to clipboard
Drawing out of bounds
Hi,
Tried to set a background color to the component, yet it shows up off the edges. Realised then that if I set the page control to clip its content, a part is missing. Which means the component is drawing itself out of the bounding area.
Just set a background color and you will see what I mean.
Thanks, H.
I faced the same issue and solved it by adding a delay in setting number of pages like this. DispatchQueue.main.asyncAfter(deadline: DispatchTime.now()) { self.pageControl?.numberOfPages = self.moods.count }