Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let animationOptions: UIViewAnimationOptions = .curveEaseOut
- var keyframeAnimationOptions: UIViewKeyframeAnimationOptions!
- keyframeAnimationOptions = UIViewKeyframeAnimationOptions(rawValue: animationOptions.rawValue)
- // Tu use comme ca
- UIView.animateKeyframes(withDuration: 0.4, delay: 0, options: self.keyframeAnimationOptions, animations: {
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement