Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I adjust the speed of the animation? #435

Open
hirotanishizato opened this issue Nov 23, 2018 · 1 comment
Open

How can I adjust the speed of the animation? #435

hirotanishizato opened this issue Nov 23, 2018 · 1 comment

Comments

@hirotanishizato
Copy link

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.

@algrid
Copy link
Collaborator

algrid commented Dec 15, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants