I'm seeing some interesting behavior in an app that uses a UITableView with self-sizing cells.
The cells are all really tall. What I'll do sometimes is query for the rectForRowAtIndexPath for some row like 6, and get one value (let's call it A). Then if I scroll that cell into view and inspect it's frame, it's different than A. Then usuaully if I continue to scroll down, and then later scroll back up to row 6, if I query rectForRowAtIndexPath the value will be something different than B. If I scroll down and back again, it will remain B.
It seems like rectForRowAtIndexPath won't report a reliable value until actually scrolling the cell into view, which makes sense. Is there a workaround to get the correct value without using explicitly sized cells?