SCLAlertView-Swift
SCLAlertView-Swift copied to clipboard
How can I adjust the speed of the animation?
How can I adjust the speed of the animation (the time until the alert screen comes to the top or the center of the screen)?
I changed the following code of "SCLAlertView.swift", but it did not change in fact.
// Show animation in the alert view fileprivate func showAnimation(_ animationStyle: SCLAnimationStyle = .topToBottom, animationStartOffset: CGFloat = -400.0, boundingAnimationOffset: CGFloat = 15.0, animationDuration: **TimeInterval = 0.2**)
I am glad if you give me some advice.
Hmm, strange, for me changing that value actually worked as expected.