In SwiftUI 2.0 you can add role to the buttons of the context menu.
Follow this thread for more information.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: