---
title: allowsSelfSizing
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiinputview/allowsselfsizing
---

# allowsSelfSizing

A Boolean value that indicates whether the input view is responsible for its own size.

## Declaration

```swift
var allowsSelfSizing: Bool { get set }
```

## Discussion

Discussion When the value of this property is false (the default), UIKit determines an appropriate size of the input view based on its current layout. When the value of this property is true, UIKit honors the value returned by the systemLayoutSizeFitting(_:) method of the input view.
