SCLAlertView-Swift icon indicating copy to clipboard operation
SCLAlertView-Swift copied to clipboard

How can I adjust the speed of the animation?

Open hirotanishizato opened this issue 7 years ago • 1 comments

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.

hirotanishizato avatar Nov 23 '18 01:11 hirotanishizato

Hmm, strange, for me changing that value actually worked as expected.

algrid avatar Dec 15 '18 21:12 algrid