Commit 51794bfc authored by Steven杜宇's avatar Steven杜宇

// AI

parent 8b9bc592
......@@ -36,7 +36,7 @@ class YHAIEvaluationWebView: UIView {
self.frame = CGRectMake(0, KScreenHeight, KScreenWidth, KScreenHeight)
UIApplication.shared.yhKeyWindow()?.addSubview(self)
UIView.animate(withDuration: 1.0, delay: 0, options: .curveEaseOut, animations: {
UIView.animate(withDuration: 0.25, delay: 0, options: .curveEaseOut, animations: {
self.frame = CGRectMake(0, 0, KScreenWidth, KScreenHeight)
}) { finished in
self.frame = CGRectMake(0, 0, KScreenWidth, KScreenHeight)
......@@ -45,7 +45,7 @@ class YHAIEvaluationWebView: UIView {
func dismiss() {
UIView.animate(withDuration: 0.5, delay: 0, options: .curveEaseOut, animations: {
UIView.animate(withDuration: 0.25, delay: 0, options: .curveEaseOut, animations: {
self.frame = CGRectMake(0, KScreenHeight, KScreenWidth, KScreenHeight)
}) { finished in
self.removeFromSuperview()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment