---
title: smartQuotesType
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitextinputtraits/smartquotestype
---

# smartQuotesType

The configuration state for smart quotes.

## Declaration

```swift
optional var smartQuotesType: UITextSmartQuotesType { get set }
```

## Discussion

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

- [UITextSmartQuotesType](uikit/uitextsmartquotestype.md)
- [smartDashesType](uikit/uitextinputtraits/smartdashestype.md)
- [UITextSmartDashesType](uikit/uitextsmartdashestype.md)
- [smartInsertDeleteType](uikit/uitextinputtraits/smartinsertdeletetype.md)
- [UITextSmartInsertDeleteType](uikit/uitextsmartinsertdeletetype.md)
