-
-
Save sergioceron/b963db975165a612db5fae9b15b1a583 to your computer and use it in GitHub Desktop.
Swift - Add subview with transition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UIView.transitionWithView(self.view, duration: 0.5, options: UIViewAnimationOptions.TransitionNone, | |
animations: {self.view.addSubview(effectView)}, completion: nil) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment