I am having a doozy of a time trying to figure this one out:
I have a
with a fixed sized
(250 x 250) pinned to the top of the cell's
of variable text size underneath with its top pinned to the bottom of the
and its bottom to the bottom of the cell's
I have a use case where an image is not always guaranteed
and so the image view purposely
height so it does not break autolayout on the
's top pinning.
I assumed that this would allow the
to shrink down to the size of the label but instead, it stays the default height and autolayout stretches the label's height (to maintain the pinning to the top and the bottom) with the text centered in the middle.
I used all the usual suspects,
blah blah (what you would probably suggest first!) and it was to no avail.
What am I doing wrong?
I did see something about changing the Priority
for the constraints in IB to
so they could break. And also some references to resizing the
manually (lame and nasty) by calling
which broke the layout, so what am I doing wrong here? Thanks!