I have a simple UITableViewController, tableview setup as static, I have only one UITableViewCell inside it, UITableViewCell has one UIImageView and one label inside it.
Constraints added are as follows
When I run this app , everything looks fine except the image doest stay square that is UIIMageView looses its width and height constraints and shows the entire image. Scale type used is Aspect Fill. Not sure whats going on attached is the result
How can I make UiImageView to follow constraints ?
[testPic]-19-[label]
. Was there any constraint conflict warning? What happen if you setclipsToBounds
on the image view? – Ryan