YPImagePicker icon indicating copy to clipboard operation
YPImagePicker copied to clipboard

Gallery selection is stuck when first photo was not granted permission

Open arthurfaredge opened this issue 5 years ago • 2 comments

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:

  1. Go to YP image picker
  2. OS will prompt for "Select More Photos" and "Keep Current Selection"
  3. Unselect the first photo (do not give access) and click done
  4. 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 Screen Shot 2020-10-28 at 11 53 00 AM Screen Shot 2020-10-28 at 11 41 12 AM

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.

arthurfaredge avatar Oct 28 '20 03:10 arthurfaredge

+1

pramittewari avatar Mar 26 '21 13:03 pramittewari

On peut avoir un fix svp ?

Seepak avatar Oct 19 '21 09:10 Seepak