ios - Dynamic height with UITableViewAutomaticDimension -
i have problem. i'm trying implement dynamic cel
l height in annex, when have nothing. normally, in cell have 1 uiimageview
, 3 uilabel
. task implement dynamic height
of text without changing picture size. picture comes server , scaled inside cell mod scale fill. text
not change height in cell
.
self.tableview.estimatedrowheight = 415.0f; self.tableview.rowheight = uitableviewautomaticdimension;
i found numberoflines = 0;
the problem picture stretched server, should not text of size not change.
the problem have not placed limiting constraints on image view's size. therefore adopts size of image.
Comments
Post a Comment