swift - Set UIView height to fit UILabel subview using autolayouts -
what try do
i have custom uiview uilabel subview in it. want uiview wrap uilabel height , set it´s height depending of text length. uilabel resizing it´s height correctly when adding text label.text. far good.
problem
the uiview not adjusting height uilabel content. text should inside white uiview below. should possible solve constraints, correct? can´t right though. can done purely storyboard or have manually set uiview height in code?
Comments
Post a Comment