Reload data in collection view

I have a view controller with two collection views. I am able to save an object from collection view 1 to collection view 2, but have to leave and come back to the view controller to see the added items. I have tried self.collectionView.reloadData() but it doesn’t seem to work. Any help would be appreciated. Thank you.

1 Like

@jport1130 Thanks very much for your question!

Are you able to tell that the reloadData() is being called after you save the item from the first collectionView? What is the data source for the second collectionView (i.e. an array)?

This topic was automatically closed after 166 days. New replies are no longer allowed.