I have a vertical UICollection
view. One of it cells has a table view
.
The table view size has it content size, this means there is no scrolling for table view.
The problem is once the collection view cell
that has the table view being displayed, all the table view cells loaded. Which means no reusing for the table view cells. since they all loaded.
I had a 52 cells for the table view, All of them loads at the same time on the memory. this makes the app freezing.
I did a debug for the table view datasource call back, the cellForRowAtIndex method is called once for each table view cell at first time. And it doesn't called when scrolling down to see table view cells; This leads me to recognize that there is no reusing for TableViewCells.
Any help?