Is there a way to get access to the row height previously calculated in “heightForRowAtIndexPath”?

给你一囗甜甜゛ 提交于 2019-12-22 17:49:33

问题


I calculate the height of a row in the method "heightForRowAtIndexPath" but I need to use this value in the method "cellForRowAtIndexPath" ... is there a way to get access to the value already calculated or do I need to do the calculations again ?

Thks,

Gotye.

来源:https://stackoverflow.com/questions/2531004/is-there-a-way-to-get-access-to-the-row-height-previously-calculated-in-heightf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!