-
Notifications
You must be signed in to change notification settings - Fork 448
CollectionView ReloadData bug #102
Comments
My previous version with PagingMenuController has no issues Is there any new updates that caused this bug or could this be a bug from Apple? |
Which version of PagingMenuController are you using? |
The newest version. I no longer have a copy of the live app. I think it could also be because Apple changed something? The issue disappears if I test it using only the viewcontroller without pagingMenuController |
Well, this library's loading system has recently changed drastically to ensure better memory management. So it could be my fault depends on what version you used with your previous app.
Do you mean you deleted second menu tab associated with second VC, then the initial VC is reloaded? |
I didn't change anything to the menu, here is how it goes in my app. Tab 1(Initial) & 2 are both UIViewControllers with CollectionViews that display images. Their data is retrieved from a JSON endpoint online. To replicate the issue. I load the app and click on one of the images. This brings up another view or ViewController. I dismiss it and I get sent back to Tab 1 which is my initial ViewController and it triggers a reloading of the view or the CollectionView. Video showing the problem |
Got it. This might be because of my fault. I'll fix it and let you know once I found out something. |
I've fixed it! |
I tried it and it is fixed! Thanks! ありがとうございます。 |
😄 |
There's a bug with the usage of CollectionView and PagingMenuController with the reloading of the CollectionView affecting user experience.
Setup
Initial ViewController with a CollectionView
Second ViewController that shows an enlarged Image
Using JTSImageViewController to show enlarged image.
This issue can be replicated by showing the second VC and when it is dismissed, the CollectionView in the initial VC is reloaded
The text was updated successfully, but these errors were encountered: