     fileprivate func setupView(_ view: UIView, dismissOnBackgroundTap: Bool, backgroundBlurEffect: Bool) {
         
         let keyWindow = UIApplication.shared.keyWindow
-        
         let keyWindowBounds = keyWindow?.bounds as CGRect!
-        
         self.frame = keyWindowBounds!
         
         self.backgroundView = UIView(frame: keyWindowBounds!)

            
        }
        
        
        let center: CGPoint? = keyWindow?.center
        
        if(center != nil) {
            
            self.contentView.center = center!
            
        }
        
    }
    
    func dismiss() {

        }) { (Bool) -> Void in
            self.removeFromSuperview()
        }
    }
}
