I was working on pagination , I see that there page control is not coming up for iOS 14 , where for iOS 13 and below is visible .. Can some one please help me out on this
func designPageControl() {
pageControl.numberOfPages = 4
pageControl.isUserInteractionEnabled = true
self.pageControl.addTarget(self, action:#selector(didChangePage), for: UIControl.Event.touchUpInside)
self.pageControl.transform = CGAffineTransform(scaleX: 1.3, y: 1.3)
pageControl.frame = CGRect(x: self.view.frame.midX - 50, y: self.view.frame.maxY - 90, width: 100, height: 100)
self.view.addSubview(pageControl)
self.pageControl.pageIndicatorTintColor = UIColor(named: "GS-50")
pageControl.currentPageIndicatorTintColor = UIColor(named: "PB-100")
}