Reputation: 331
I have the following layout for my UIViewController that also has a UITableView. I have tried to change the width and height of the UIImageView inside the UITableViewCell without success. I have been using the storyboard to change the width and height without any success. The image size remains the same size whether I try to increase or decrease any of the dimensions (as in when i install the app or it on the simulator - the size of the image is always the same)
layout:
Looks Like this:
Constraints for UIImageView:
width:
Height:
Upvotes: 0
Views: 163
Reputation: 100503
You need to click the width and height constraints and change their constants values in your example change from 20 to anything , but from size inspector or by dragging a side of the imageView you won't get anything as you can't have both auto-layout and frame at the same time
Upvotes: 1