         }
     }
     
-    override public func viewDidAppear(_ animated: Bool) {
+    public override func viewDidAppear(_ animated: Bool) {
         if isShowPageControl {
             pageControl.center = CGPoint(x: view.bounds.midX, y: view.bounds.maxY - 20)
         }

        currentIndex = index
        self.transitioningDelegate = self
        self.modalPresentationStyle = .custom
        presentingVC.present(self, animated: true, completion: nil)
    }
    

    
    override public var shouldAutorotate: Bool {
        return false
    }
    
    public override var prefersStatusBarHidden: Bool {
        return true
    }
}

