Last active
August 17, 2020 21:19
-
-
Save pMalvasio/06844e05841cc42cc26797e9e6d38ff1 to your computer and use it in GitHub Desktop.
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
NSLayoutConstraint.activate([ | |
animationView.widthAnchor.constraint(equalTo: view.widthAnchor), | |
animationView.heightAnchor.constraint(equalTo: view.heightAnchor), | |
animationView.centerXAnchor.constraint(equalTo: view.centerXAnchor), | |
animationView.centerYAnchor.constraint(equalTo: view.centerYAnchor) | |
]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment