Contents

selectedAttributedString()

Returns the currently selected text in the web document as an attributed string.

Declaration

func selectedAttributedString() -> NSAttributedString!

Return Value

An attributed string containing the currently selected text in the web document.

See Also

Selecting and deselecting text