Skip to content

Instantly share code, notes, and snippets.

Last active June 10, 2020 01:38
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
extension JoinViewController {
func setupConstraints() {
patientButton.centerXAnchor.constraint(equalTo: view.centerXAnchor),
patientButton.centerYAnchor.constraint(equalTo: view.safeAreaLayoutGuide.centerYAnchor, constant: -100),
doctorButton.centerXAnchor.constraint(equalTo: view.centerXAnchor),
doctorButton.centerYAnchor.constraint(equalTo: patientButton.centerYAnchor, constant: 100)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment