Dynamic UIImageView Size Within UITableView
问题 I want to implement a TableView with a Custom TableViewCell showing an image. To make this simple, I simply put a UIImageView inside a tableviewcell using autolayout (illustrated below). What I want is to display the image inside a UIImageView however those images dimensions can be anything and are inconsistent (portrait, landscape, square) ... Therefore, I'm looking to display an image with a fixed width (the width of the device) and a dynamic height that respect the ratio of the images. I