ios - Dynamic height with UITableViewAutomaticDimension -


i have problem. i'm trying implement dynamic cell 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.

enter image description here enter image description here

the problem have not placed limiting constraints on image view's size. therefore adopts size of image.


Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -