Hi I would like to show the PhotosPicker
programatically the same way we can do with sheet(isPresented: Binding<Bool>)
and fullScreenCover(isPresented: Binding<Bool>)
, i.e. I would like:
photosPicker(isPresented: Binding<Bool>, selectedItem: Binding<PhotosPickerItem?>)
.
This would allow me to have multiple buttons that show the picker and would make all my code that shows sheets consistent, thanks for reading.