ReloadData in performBatchUpdates: completion: does not call cellForItemAtIndexPath:
So, I was playing around mine UITableView
when I noticed this code:
[self performBatchUpdates:^{
[self reloadData];
} completion:^(BOOL finished) {}];
does not result in a call cellForItemAtIndexPath:
, only sizeForItemAtIndexPath
of is UICollectionViewFlowLayout
called.
Does anyone know why this is happening?
I know exactly what is going on in reloadData
, but this is different from this.
+3
source to share