The easiest way to show image picker in iOS is to use UIImagePickerController, and we can bridge that to SwiftUI via UIViewControllerRepresentable
First attempt, use Environment
We conform to UIViewControllerRepresentable and make a Coordinator, which is the recommended way to manage the bridging with UIViewController.
There’s some built in environment property we can use, one of those is presentationMode where we can call dismiss to dismiss the modal.


