I have a UIView a
that has autoresizing subviews
enabled. It's size is:
<UIView: 0x7650180; frame = (0 0; 320 394); clipsToBounds = YES; autoresize = LM+RM+H; layer = <CALayer: 0x7650230>>
I have another UIView b
which i added to the view a
. View b
has flexible width/height. When I add it in, I expect it's height to change to 394
, but it remains the same as the in the nib (420
):
<UIView: 0x764f720; frame = (0 0; 320 460); autoresize = LM+W+RM+TM+H+BM; layer = <CALayer: 0x764f320>>
What am I doing wrong?
Thanks