Created
October 16, 2017 13:37
-
-
Save dejanskledar/52370472d255d239a726d5d95259fdf9 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
middleButton.frame.size = CGSize(width: 70, height: 70) | |
middleButton.backgroundColor = .blue | |
middleButton.layer.cornerRadius = 35 | |
middleButton.layer.masksToBounds = true | |
middleButton.center = CGPoint(x: UIScreen.main.bounds.width / 2, y: | |
UIScreen.main.bounds.height - 40) | |
view.addSubview(middleButton) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment