Asks the delegate for an object that can provide a token when the copied token is pasted.
- iOS 13.0+
- Mac Catalyst 13.0+
The search field that contains the token the user is copying or dragging.
The token the user is copying or dragging.
An item provider that provides a token if the user pastes or drops the token.
To support drag and drop and the Cut and Copy commands, your delegate must implement this method and return an
NSItem for the requested token. Your delegate can provide a plain text representation for pasting in other contexts, but should register a custom type identifier so it can recognize and reconstruct the token when pasted into the same field.