I came here because I have a rather strange problem with my UICollectionView.
Imgur album with all screens I would like to share: http://imgur.com/a/v3sox
Firstly, here is what my application looks like without any problems: Image 2 albums.
Pay attention to the update button in the upper right corner, this is a problem that gives me problems.
When I quickly scroll through the UICollectionView and click Refresh while browsing the collection is still scrolling, I have โcell residuesโ that do not belong to anyone and just remain on the screen. (example: image of 1 album)
I do not understand what is happening because in my update method I:
- (void)refreshData { //A bunch of code before I reset the data dispatch_async(dispatch_get_main_queue(), ^{ //Reset data currentProjects = nil; [self.projectsCollectionView reloadData]; //Some other stuff concerning the little "Chargement..." view }; }
Then the cells continue to remain on my screen in each folder, so if I select a different folder, I will get an image of 3 albums (pay attention to the labels for the last 4 cells, they are mixed, because the previous cells remain on the screen when they should not be .)
Has anyone figured out what can do this? Thanks so much for your time.
PS: sorry, I put all the screens in the album, could not post more than two links, so I had to improvise
source share