Sets the switch title to the specified attributed string.
- watchOS 2.0+
The formatted text string to be displayed in the switch. Specifying
nilclears the current text from the switch.
This method sets the content of the switch to the specified text, replacing the previous text. The text is drawn using the style information in
If you use styled text in your switches, you must provide localized versions of the text yourself. Attributed strings may not contain any
NSText objects as part of their content.