Using iOS 14.5 18E5199a and Xcode 12.5 beta 3, canPerformAction(_:withSender:) doesn't filter out default menu items.
The same code works as expected using iOS 14.* released version and Xcode 12.5 beta 3.
Code Block override func canPerformAction(_ action: Selector, withSender sender: Any?) -> Bool { guard action == #selector(GuideNode.onHelpMenuItem) else { return false } return super.canPerformAction(action, withSender: sender) } override var canBecomeFirstResponder: Bool { true }
The same code works as expected using iOS 14.* released version and Xcode 12.5 beta 3.