Contents

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 autoformatting behaviors