Question

I am using UITableView in my application. I am using the cellForRowAtIndexPath method of the UITableView control.

My question is that why this method cellForRowAtIndexPath is called whenever I scroll the table.

Was it helpful?

Solution

Only the visible cells are requested. If you scroll the table, it will generate the new ones that come into view...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top