Contents

setCancel(_:)

Sets the title of the default/cancel button in the device selector panel.

Declaration

func setCancel(_ prompt: String!)

Parameters

  • prompt:

    String that appears in the default/cancel button in the device selector panel.

Discussion

The prompt text should be localized for best user experience.

NOTE: This method is only available in macOS 10.9 or later.

See Also

Instance Methods