UITableViewCell ImageView not scaling properly?
问题 I am populating a UITableView with images selected by the user. I'd like to the have thumbnails in the table cells all be the same size without affecting the aspect ratio so as not to stretch/skew the images, which sounds to me like ScaleAspectFill , however none of the UIViewContentMode selections seem to have an effect. There me conflicting methods, notable heightForRowAtIndexPath , but removing this makes my cells too small. The following are my didSelectRowAtIndexPath and