Instance Method

onCopyCommand(perform:)

Adds an action to perform in response to the system’s Copy command.

Declaration

func onCopyCommand(perform payloadAction: (() -> [NSItemProvider])?) -> some View