Tells the delegate to perform the specified action on an item in the collection view.
- iOS 6.0–13.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- tvOS 9.0–13.0Deprecated
The collection view object that is making the request.
The selector representing the action to be performed.
The index path of the affected item.
The object that initiated the action.
If the user taps an action in the editing menu, the collection view calls this method. Your implementation of this method should do whatever is appropriate for the action. For example, for a copy action, it should extract the relevant item content and write it to the general pasteboard or an application (private) pasteboard.
For information about how to perform pasteboard-related operations, see