Merge pull request #899 from mpretty-cyro/fix/media-picker-reload
Fixed an issue where the media picker wouldn't reload when changing image access
This commit is contained in:
commit
eaceabe217
|
@ -383,6 +383,7 @@ class ImagePickerGridController: UICollectionViewController, PhotoLibraryDelegat
|
|||
|
||||
func photoLibraryDidChange(_ photoLibrary: PhotoLibrary) {
|
||||
photoCollectionContents = photoCollection.contents()
|
||||
collectionView?.reloadData()
|
||||
}
|
||||
|
||||
// MARK: - PhotoCollectionPicker Presentation
|
||||
|
|
Loading…
Reference in New Issue