Type Method


Returns an app pasteboard identified by a unique system-generated name.


+ (UIPasteboard *)pasteboardWithUniqueName;

Return Value

An app pasteboard object with a unique name.


Obtain the value of the name property to discover the name of the returned pasteboard. App pasteboards returned by this method are not persistent, existing only until the app quits. Starting in iOS 10, persistent named pasteboards are deprecated. Instead use a shared container, as described in the overview for the UIPasteboard class.

See Also

Getting and Removing Pasteboards


Returns the systemwide general pasteboard, which is used for general copy-paste operations

+ pasteboardWithName:create:

Returns a pasteboard identified by name, optionally creating it if it doesn’t exist.

+ removePasteboardWithName:

Invalidates the designated app pasteboard.