Adding snapshot.reloadItems([.mySection]) worked for me. As well as calling collectionView.reloadData and then calling datasource.apply (NOTE call all in DispatchQueue.main.async)
Adding snapshot.reloadItems([.mySection]) worked for me. As well as calling collectionView.reloadData and then calling datasource.apply (NOTE call all in DispatchQueue.main.async)