Contents

pasteAndGo(_:)

Pastes the current contents of the pasteboard into your app’s interface and navigates to the entity it references.

Declaration

optional func pasteAndGo(_ sender: Any?)

Parameters

  • sender:

    The object calling this method.

Discussion

UIKit calls this method when the user selects the Paste and Go command from an editing menu. Your implementation should read the data from the pasteboard, add the resulting content to your interface, and begin navigating to the entity the content references.

See Also

Handling copy, cut, paste, and delete commands