I'm trying to add constraints between two elements inside a UITableViewController and so far, I haven't been able to. The UIImage View in inside the UITableViewController, but outside the UITableView Cell.
I can neither use StoryBoard, nor add constraints programatically because Xcode tells me that I can't add a constraint on an object that is going to be reused.
The reason I'm trying to add a constraint is because the UIImageView is dynamically resized by the size of the image that is downloaded. When the image can't be downloaded for whatever reason, it uses a default image and the whole layout falls apart.
Here's what my tableView looks like: