Im using auto layout for this imageView and I don't have a height set in the constraints thinking it would resize to the image height but it doesn't seem to work. Here is a pic:
I want to remove the red space which is the background and just have the image
it is in a UITableViewCell which i want to size according to the image size.