Instance Property

smartInsertDeleteType

The configuration state for the smart insertion and deletion of space characters.

Declaration

optional var smartInsertDeleteType: UITextSmartInsertDeleteType { get set }

Discussion

Use this property to configure whether UIKit may insert an extra space after a paste operation or delete one or two spaces after a cut or delete operation. The default value of this property is UITextSmartInsertDeleteType.default, which selectively enables the behavior based on the keyboard type.

See Also

Configuring the Auto-Formatting Behaviors

var smartQuotesType: UITextSmartQuotesType

The configuration state for smart quotes.

enum UITextSmartQuotesType

Constants indicating whether smart quotes are enabled or disabled.

var smartDashesType: UITextSmartDashesType

The configuration state for smart dashes.

enum UITextSmartDashesType

Constants for specifying the automatic conversion behavior between hyphens and en or em dashes.

enum UITextSmartInsertDeleteType

Constants for specifying whether extra spaces are automatically inserted after a paste operation or deleted after a cut or delete operation.