Type Property

generalPasteboard

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

Declaration

@property(class, nonatomic, readonly) UIPasteboard *generalPasteboard;

Return Value

A shared system pasteboard object with the name of UIPasteboardNameGeneral.

Discussion

You may use the general pasteboard for copying and pasting text, images, URLs, colors, and other data within an app or between apps. The general pasteboard is persistent across device restarts and app uninstalls.

See Also

Getting and Removing Pasteboards

+ pasteboardWithName:create:

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

+ pasteboardWithUniqueName

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

+ removePasteboardWithName:

Invalidates the designated app pasteboard.