Skip to content

Instantly share code, notes, and snippets.

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
You can’t perform that action at this time.