ios - TableView not displaying whole tableViewCell (height) -
i on xcode 8 swift 3 building viewcontroller tableview , custom cell. have multiple labels within custom cell , have set auto layout in initialization following code:
tableview.rowheight = uitableviewautomaticdimension tableview.estimatedrowheight = 90.0 this how it's set on xcode:
this how looks on simulator:
i have tried setting constraints on last label on right same result @ runtime. need put views in container view collectionview or something?
it not clear constraint have imposed. however, must need pin first label top of superview , last label bottom of superview, make automatic dimension work. also, make sure label have set top , bottom each other.


Comments
Post a Comment