Created
July 13, 2020 02:17
-
-
Save cardoso/33f4944db3fa4ac90f166661bb0c482f 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
extension JoinViewController { | |
func setupConstraints() { | |
view.addConstraints([ | |
attendeeButton.centerXAnchor.constraint(equalTo: view.centerXAnchor), | |
attendeeButton.centerYAnchor.constraint(equalTo: view.safeAreaLayoutGuide.centerYAnchor, constant: -100), | |
speakerButton.centerXAnchor.constraint(equalTo: view.centerXAnchor), | |
speakerButton.centerYAnchor.constraint(equalTo: attendeeButton.centerYAnchor, constant: 100) | |
]) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment