Describe the bug
The gallery view automatically selects the first photo and shows preview. If the first photo was not given permission by the user,
it shows up a blank on the YPPicker gallery and it tries to show the preview of this. This is where the picker view gets stuck. User cannot select on a different picker. It also happens when the users selects a blank space (OS did not give permission for access) item.
To Reproduce
Steps to reproduce the behavior:
Go to YP image picker
OS will prompt for "Select More Photos" and "Keep Current Selection"
Unselect the first photo (do not give access) and click done
See error (screenshot attached)
Expected behavior
YP Picker should be able to handle photos that was not given permission (better the gallery only shows images that was given perimission
Screenshots
Environment (please complete the following information):
Device: iPhone 6s/Simulator
OS: 14
Xcode Version 12
Swift Version 4.2
Installation Type
Carthage
Cocoapods
Manual
Additional context
Add any other context about the problem here.
Describe the bug The gallery view automatically selects the first photo and shows preview. If the first photo was not given permission by the user, it shows up a blank on the YPPicker gallery and it tries to show the preview of this. This is where the picker view gets stuck. User cannot select on a different picker. It also happens when the users selects a blank space (OS did not give permission for access) item.
To Reproduce Steps to reproduce the behavior:
Expected behavior YP Picker should be able to handle photos that was not given permission (better the gallery only shows images that was given perimission
Screenshots
Environment (please complete the following information):
Installation Type
Additional context Add any other context about the problem here.