Xcode – How to display PhotosPicker via swiftUI Image LongPressGesture?
I would like to display a PhotosUI PhotosPicker via a longPressGesture of a UIImage. import SwiftUI import PhotosUI @MainActor final class TestViewModelProfile: ObservableObject { @Published private(set) var selectedImage: UIImage? = nil @Published var imageSelection: PhotosPickerItem? = nil { didSet {…