UIPasteboard(Extensions) Category Reference

Declared in UIPasteboard+Extensions.h

Overview

UIPasteboard extension methods.

– clear

Clears the pasteboard.

- (void)clear

Discussion

Clears the pasteboard.

Declared In

UIPasteboard+Extensions.h

– setString:clearByDate:

Sets the value of the pasteboard and ensures it is cleared by the given NSDate.

- (void)setString:(nonnull NSString *)string clearByDate:(nonnull NSDate *)date

Parameters

string

The string to set the pasteboard to.

date

The date by which it must be cleared.

Discussion

Sets the value of the pasteboard and ensures it is cleared by the given NSDate.

Declared In

UIPasteboard+Extensions.h