     
     
     
-    func animationController(forPresented presented: UIViewController, presenting: UIViewController, source: UIViewController) -> UIViewControllerAnimatedTransitioning? {
+    public func animationController(forPresented presented: UIViewController, presenting: UIViewController, source: UIViewController) -> UIViewControllerAnimatedTransitioning? {
         self.modalPresentationStyle  =  .custom
         let presentTrasition:JWAlertPresentTransitioning = JWAlertPresentTransitioning()
         presentTrasition.preferredStyle = self.preferredStyle
         return presentTrasition
     }
     
-    func animationController(forDismissed dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? {
+    public func animationController(forDismissed dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? {
         self.modalPresentationStyle  =  .custom
         let dismissTrasition:JWAlertDismissTransitioning = JWAlertDismissTransitioning()
         dismissTrasition.preferredStyle = self.preferredStyle

        
    }
    
    override func viewWillLayoutSubviews() {
        super.viewWillLayoutSubviews()
        
        

    
    
    //加载
    override public func viewDidLoad() {
        super.viewDidLoad()
        
        view.backgroundColor = UIColor.clear
