Instance Property

setPersistent:

A Boolean value that indicates whether the pasteboard is persistent.

Declaration

iOS, Mac Catalyst
@property(readonly, getter=isPersistent, nonatomic) BOOL persistent;
iOS, Mac Catalyst
- (void)setPersistent:(BOOL)persistent;

Discussion

When a pasteboard is persistent, it continues to exist past app terminations and across system reboots. App pasteboards that are not persistent only last until the owning (creating) app quits. The systemwide general pasteboard is persistent. Named, app-specific pasteboards are not persistent.

See Also

Getting and Setting Pasteboard Attributes

name

The name of the pasteboard.

changeCount

The number of times the pasteboard’s contents have changed.