Created
August 16, 2016 12:53
-
-
Save janodev/dd566c7b39183971618fa34657e1ae53 to your computer and use it in GitHub Desktop.
Layout the content
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
override func viewDidLoad() | |
{ | |
super.viewDidLoad() | |
let size = view.bounds.size | |
preferrredContentSize = CGSize(width: size.width, height: size.width / 2) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment