ios - Height of cell taller than cell contents - view rendering issue -


i have odd problem hoping perhaps explain. searching yields nothing in case.

if heightforrowatindexpath specifies height taller of contents drawn result of cellforrowatindexpath upon scrolling, once view refreshes contents, won't draw of cell contents i've rendered (each row height dynamic). however, if reduce row height somewhat, rendered correctly.

is there documentation pertaining problem? should heightforrowatindexpath return precise row height based on contents? example, made row heights rather large see contents, alas, cellforrowatindexpath wouldn't called many times should, , general rendering problems ensued.

apologies fuzzy description, perhaps have experienced same problem offer insight.

cheers.

if cell content contains dynamic content affects height, have return different height values heightforrowatindexpath.

tableview calls heightforrowatindexpath many times don't do calculations inside heightforrowatindexpath, instead create array holds calculated height values , return values array.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -