.singlePhotoPicker() and .multiplePhotosPicker() modifier that takes a store like .alert() to import photos from PhotoLibrary #3739
FredericRuaudel
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
In the same spirit of my previous post, I've also created some new modifiers to display the new PhotosPicker in a sheet. This time, the view modifier doesn't exists in vanilla SwiftUI so its a bit different but the result is as convenient as the other.
SinglePhotoPicker
Here is the implementation gist for singlePhotoPicker:
And a gist to use it:
MultiplePhotosPicker
Here is the implementation gist for multiplePhotosPicker:
And a gist to use it:
If you try it, tell me what you think!
Have a nice day,
Fred
Beta Was this translation helpful? Give feedback.
All reactions