Type Method

removePasteboardWithName:

Invalidates the designated app pasteboard.

Declaration

+ (void)removePasteboardWithName:(UIPasteboardName)pasteboardName;

Parameters

pasteboardName

The name of the pasteboard to be invalidated.

Discussion

Invalidation of an app pasteboard frees up all resources used by it. Once a pasteboard is invalidated, you cannot use the it; UIPasteboard ignores any calls to it. The method has no effect if called with the name of a system pasteboard.

See Also

Getting and Removing Pasteboards

generalPasteboard

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.

+ pasteboardWithUniqueName

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