The configuration state for smart quotes.
SDKs
- iOS 11.0+
- Mac Catalyst 13.0+
- tvOS 11.0+
Framework
- UIKit
Declaration
@property(nonatomic) UIText Smart Quotes Type smartQuotesType;
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 UIText
, which selectively enables smart quotes based on the keyboard type.