Post

Replies

Boosts

Views

Activity

Reply to SwiftUI Support
This is the way I know: UIMenuController.shared.menuItems = [UIMenuItem(title: "some_title" , action: #selector(some_function))] however it is now deprecated and replaced with UIEditMenuInteraction which I have no idea how to implement with a UIViewRepresentable, if someone figures how I'll be happy to know.
Aug ’22