<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITextSmartInsertDeleteType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UITextSmartInsertDeleteType"
  },
  "title" : "UITextSmartInsertDeleteType"
}
-->

# UITextSmartInsertDeleteType

Constants that specify whether to automatically insert extra spaces after a paste operation or to delete them after a cut or delete operation.

```
enum UITextSmartInsertDeleteType
```

## Topics

### Constants

[`case `default``](/documentation/UIKit/UITextSmartInsertDeleteType/default)

Use the default behavior for inserting and deleting space characters.

[`case no`](/documentation/UIKit/UITextSmartInsertDeleteType/no)

Disable the insertion or deletion of extra spaces.

[`case yes`](/documentation/UIKit/UITextSmartInsertDeleteType/yes)

Enable the insertion or deletion of extra spaces.

### Initializers

[`init?(rawValue: Int)`](/documentation/UIKit/UITextSmartInsertDeleteType/init(rawValue:))

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)