Gallery
Gallery copied to clipboard
Allow access to some more photos
With the new app privacy settings, we can allow some photos accessed by the application. Also, we can trigger to allow user to select some more photos accessed by the app. Something like "Select more photos..." shown in this image https://i.stack.imgur.com/VG7p9.jpg.
The app does not trigger this alert always. We can manually trigger this. Wondering if you can add this method call through a button on the picker. Please let us know.
Thank you.
Plus the library doesn't refresh the more photos selected, you will have to either kill the app or go back and come on the screen where you are using Gallery library to view the recently more selected photos.
Plus the library doesn't refresh the more photos selected, you will have to either kill the app or go back and come on the screen where you are using Gallery library to view the recently more selected photos.
Yes, I end up doing the same. I really wish "Add More" feature would be implemented.
Attached the screenshot of Reddit iOS app.
in my case when the user lands on the Screen where the Gallery is being used, for the first time upon selecting photos(Select Photos) the photos being displayed by Gallery are refreshed. But the next time, upon selecting more photos(Select More Photos) the photos being displayed by Gallery are NOT refreshed.
the only solution to this is set the PHPhotoLibraryPreventAutomaticLimitedAccessAlert set to true in info.plist
found another quick fix to this, though not a good one.
`extension GalleryController: PHPhotoLibraryChangeObserver {
public func photoLibraryDidChange(_ changeInstance: PHChange) {
DispatchQueue.main.async { [unowned self] in
// Obtain authorization status and update UI accordingly
setup()
if let pagesController = makePagesController() {
g_addChildController(pagesController)
} else {
let permissionController = makePermissionController()
g_addChildController(permissionController)
}
}
}
}`