We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
hello, I'm trying to change some width constraints in chain animation but I'm having some problems:
UIView.beginAnimationChain(0.3) { self.enterWidthConstraint.isActive = true self.enterWidthConstraint.constant = self.view.frame.width self.enterEqualWidthConstraint.isActive = false print("now 1") print(self.enterWidthConstraint.constant) }.chainAfterCompletion(0.25, delay: 2.0, options: [], animations: { print("now 2") self.enterWidthConstraint.constant = 0 print(self.enterWidthConstraint.constant) }).animate()
the output gets printed all together:
now 1 375.0 now 2 0.0
The self.enterWidthConstraint.constant = 0 needs to be set after the first animation. This happens immediately 😟
The text was updated successfully, but these errors were encountered:
daehn
No branches or pull requests
hello, I'm trying to change some width constraints in chain animation but I'm having some problems:
the output gets printed all together:
The self.enterWidthConstraint.constant = 0 needs to be set after the first animation. This happens immediately 😟
The text was updated successfully, but these errors were encountered: