[https://developer.apple.com/documentation/uikit/uiview/1622451-animate] class func animate(withDuration duration: TimeInterval, delay: TimeInterval, options: UIView.AnimationOptions = [], animations: @escaping () -> Void, completion: ((Bool) -> Void)? = nil) Parameters duration The total duration of the animations, measured in seconds. If you specify a negative value or 0, the changes are made ..