Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Earth Image Setup
- view.addSubview(earthImageView)
- earthImageView.bottomAnchor.constraint(equalTo: loginTextViewTitle.topAnchor, constant: -standardSpacer).isActive = true
- earthImageView.widthAnchor.constraint(equalToConstant: 500).isActive = true
- earthImageView.heightAnchor.constraint(equalToConstant: 500).isActive = true
- earthImageView.centerXAnchor.constraint(equalTo: view.centerXAnchor).isActive = true
- // Value of earthImageViewHeight is 276. Why isn't it 500?
- let earthImageViewHeight = earthImageView.frame.size.height
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement