Contents

smartQuotesType

The configuration state for smart quotes.

Declaration

optional var smartQuotesType: UITextSmartQuotesType { get set }

Discussion

Use this property to configure whether UIKit replaces straight apostrophes and quotation marks with region-specific glyphs. The default value of this property is UITextSmartQuotesType.default, which selectively enables smart quotes based on the keyboard type.

See Also

Configuring the autoformatting behaviors