paste(_:)
Pastes the current contents of the pasteboard into your app’s interface.
Declaration
optional func paste(_ sender: Any?)Parameters
- sender:
The object calling this method.
Mentioned in
Discussion
UIKit calls this method when the user selects the Paste command from an editing menu. Your implementation should read the data from the pasteboard and add the resulting content to your interface.