All,
I have a stack view .In which the 1st row of stack view has label and favorite view. I have embedded them in UIView .How to set the height of UIView to auto increase the height according to label content and always centre the label without overlapping the favorite view
Right now, I have made the favorite view trailing edge = superview trailing and given margin from top. And, label is centre in the left side. But I need to make the label centre in the whole view (horizontally)
1.4m articles
1.4m replys
5 comments
57.0k users