swift - Equal height constraints issue iOS Interface builder -
i have 4 uilabel in row. label's title changing dynamically based on conditions. title may multiline or single line. labels should maintain same height means height of max height label. added equal height constraints labels using storyboard, issue suppose 1 label have multi line neglects height , shows 1 line, if 2 labels have multi line labels maintain multi line height , shows correctly. tried different constraints combinations result same, maintain height if 2 of them have bigger heights.
remove height , equal height constrain. add constrain top,bottom,left right except last label. in last label add left,right , height constrain , use number of line 0 label :)
Comments
Post a Comment