A Boolean value indicating whether the view controller performs menu-related actions.
- iOS 13.0+
- Mac Catalyst 13.0+
- tvOS 13.0+
The default value of this property is
YES, which causes the view controller to handle actions passed along the responder chain by modally presented view controllers. If the app includes the
UIView key in its
Info file, the default value matches the value of that key instead.
A presenting view controller might not want to handle actions in one of its modally presented child view controllers. Overriding this property and returning
NO causes UIKit to ignore this view controller when searching for a target to handle actions.