I\'ve subclassed UIPageControl in order to have its current dot bigger.
class CustomPageControl: UIPageControl {
override var currentPage: Int {
didS
I tried the solution proposed by Cœur in Swift 5 and Xcode 11 and it works fine with a few notes:
systemDotDistance * ( CGFloat($0.offset) - (halfCount - 0.5))
.updateConstraints
override is never called, you might need to call self.view.setNeedsUpdateConstraints()
in the view controller.