Is it possible to Increase the size of the indicator in UIPageViewController
?
I have this:
And my requirement is this:
Swift 4, 4.2 and 5
First create an outlet of page control
@IBOutlet weak var pageControl: UIPageControl!
If you want to keep the original spacing.
override func viewDidLayoutSubviews() {
pageControl.transform = CGAffineTransform(scaleX: 2, y: 2)
}
If you don't want to keep the original spacing.
override func viewDidLayoutSubviews() {
pageControl.subviews.forEach {
$0.transform = CGAffineTransform(scaleX: 2, y: 2)
}
}