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