                     self.dismissAlertViewWithFlick(velocity)
                 }
                 else {
-                    dismiss()
+                    dismiss(animated: true)
                 }
             }
             else {

    case None
}

@objc protocol AUAlertMessageDelegate {
    @objc func auAlertMessageClickedOn(button:UIButton, index:Int, title:String)
}

                let location = gestureRecognizer.location(in: senderView.superview)
                let closeSuperView = self.isTappedOutsideRegion(self.alertView, withLocation: location)
                if closeSuperView == true {
                    self.dismiss(animated: true)
                }
            }
        }
