ios - UICollectionView cell can't be selected after reload in case if cell was touched during reloading -
i use uicollectionview
display server-related information. uicollectionview
allows cells selection display nested data. unfortunately if user touches , holds cells during app calls [collectionview reloaddata]
cell doesn't react on touches anymore (collectionview:didselectitematindexpath:
method isn't called). can select cells except one.
i created simple application can reproduce problem: link
any ideas how fix it?
looks bug (i believe there similar issue cell.selected = yes
without -selectitematindexpath:animated:scrollposition:
caused cell unable unselected)
however if this:
[self.collectionview reloaditemsatindexpaths:[self.collectionview indexpathsforvisibleitems]];
instead of [self.collectionview reloaddata]
working expected.
update: found the answer of issue mentioned above
another update: appears indeed bug. tested original project on ios8 simulator , issue resolved.
Comments
Post a Comment