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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -