How to change the system UIMenuController in VisionKit?
I tried a few things but couldn't get it to work!
ex:
func configMenuItems() {
self.becomeFirstResponder()
let menu = UIMenuController.shared
let paste = UIMenuItem(title: "***".localized(), action: #selector(myPaste))
let selectAll = UIMenuItem(title: "zzz".localized(), action: #selector(mySelectAll))
menu.menuItems = [paste, selectAll]
menu.setMenuVisible(true, animated: true)
}