Contents

linkRenderingAttributes

Returns the default set of attributes for rendering a link.

Declaration

class var linkRenderingAttributes: [NSAttributedString.Key : Any] { get }

Discussion

The base NSTextLayoutManager class returns with single for underlineStyle and the platform link color for foregroundColor. The platform color for macOS is linkColor. Other platforms uses blueColor.

See Also

Adjusting rendering