Created
September 7, 2018 06:46
-
-
Save funky-monkey/d33159f12c2e6ff6115da14c567bf552 to your computer and use it in GitHub Desktop.
NSLayoutAnchor
This file contains hidden or 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
private func applyLayout() { | |
self.scrollView.widthAnchor.constraint(equalTo: view.widthAnchor).isActive = true | |
self.scrollView.heightAnchor.constraint(equalTo: view.heightAnchor).isActive = true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment