Returns an initialized custom action object with the specified name.
- iOS 11.0+
- Mac Catalyst 13.0+
- tvOS 11.0+
The localized name of the action. Provide a short and descriptive name for the action.
The object that performs the action.
The selector of target to call when you want to perform the action. The method signature must take one of the following forms:
An initialized custom action object.