Welcome to the Treehouse Community
Looking to learn something new?
imageView.frame = unwanted look
When I follow the instructions to set the image square and centered, I get a full screen image that is stretched. Here is my code:
CGSize size = self.view.bounds.size; CGSize imageSize = CGSizeMake(size.width, size.height); self.imageView.frame = CGRectMake(0.0, (size.height - imageSize.height) / 2.0, imageSize.width, imageSize.height);
Do you see something that I am missing?
You're awesome, fast to follow, but awesome! Sweet that you responded so late at night.