You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've turned bodyLabel's class UILabel into UIButton(As you can see in pic1 ~ pic3). As you know, UIButton also has its intrinsic content size (just like UILabel). I just want to have the cell's subviews "exert pressure" and make the content view expand to fit them. But the cell height became same and, of course, went wrong(As you can see in pic4 and pic5). Can anybody tell me why and what should I do to solve this problem?
pic1
pic2
pic3
pic4
pic5
pic6
The text was updated successfully, but these errors were encountered:
I've turned
bodyLabel
's classUILabel
intoUIButton
(As you can see in pic1 ~ pic3). As you know,UIButton
also has its intrinsic content size (just likeUILabel
). I just want to have the cell's subviews "exert pressure" and make the content view expand to fit them. But the cell height became same and, of course, went wrong(As you can see in pic4 and pic5). Can anybody tell me why and what should I do to solve this problem?pic1
pic2
pic3
pic4
pic5
pic6
The text was updated successfully, but these errors were encountered: