setItemProviders(_:localOnly:expirationDate:)
Sets and configures an explicit array of item providers for the pasteboard.
Declaration
func setItemProviders(_ itemProviders: [NSItemProvider], localOnly: Bool, expirationDate: Date?)Parameters
- itemProviders:
An array of item providers for the pasteboard.
- localOnly:
If False, the pasteboard items are available to other devices through the Handoff feature; if True, the pasteboard items are only available to the local device.
- expirationDate:
An Nsdate value that specifies the time and date that you want the system to remove the pasteboard items from the pasteboard.