removeRenderingAttribute(_:for:)
Removes the rendering attribute from the specified text range.
Declaration
func removeRenderingAttribute(_ renderingAttribute: NSAttributedString.Key, for textRange: NSTextRange)Parameters
- renderingAttribute:
The Key attribute to remove
- textRange:
The range over which to remove the rendering attribute.