selectedTextAttributes
The attributes used to indicate the selection.
Declaration
var selectedTextAttributes: [NSAttributedString.Key : Any] { get set }Discussion
Text color, background color, and underline are the only supported attributes for selected text.
See Also
Managing the selection
selectedRangessetSelectedRange(_:)setSelectedRange(_:affinity:stillSelecting:)setSelectedRanges(_:affinity:stillSelecting:)selectionAffinityselectionGranularityinsertionPointColorupdateInsertionPointStateAndRestartTimer(_:)markedTextAttributeslinkTextAttributescharacterIndexForInsertion(at:)updateCandidates()