swift - UITableViewAutomaticDimension and its Height -


i'm using uitableviewautomaticdimension in tableview , working fine, when table loaded, need cell's row size. of table. possible ?

thanks in advance.

make viewcontroller conform uitableviewdelegate, set table view's delegate class, use method:

func tableview(_ tableview: uitableview, willdisplay cell: uitableviewcell, forrowat indexpath: indexpath) {     let frame = cell.frame     [...] } 

Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -