Contents

setItems(_:options:)

Adds an array of items to a pasteboard, and sets privacy options for all the items on the pasteboard.

Declaration

func setItems(_ items: [[String : Any]], options: [UIPasteboard.OptionsKey : Any] = [:])

Parameters

  • items:

    An array of items to add to the pasteboard.

  • options:

    The privacy options to apply to all the items on the pasteboard. The available options are described in Optionskey.

See Also

Getting and setting pasteboard items