Instance Method

setPrompt(_:)

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

Declaration

func setPrompt(_ prompt: String!)

Parameters

prompt

String that appears in the default/select 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.2.4 (Bluetooth v1.1) or later.