<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIInputView/allowsSelfSizing",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIInputView(py)allowsSelfSizing"
  },
  "title" : "allowsSelfSizing"
}
-->

# allowsSelfSizing

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

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

## Discussion

When the value of this property is <doc://com.apple.documentation/documentation/Swift/false> (the default), UIKit determines an appropriate size of the input view based on its current layout. When the value of this property is <doc://com.apple.documentation/documentation/Swift/true>, UIKit honors the value returned by the [`systemLayoutSizeFitting(_:)`](/documentation/UIKit/UIView/systemLayoutSizeFitting(_:)) method of the input view.

---

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)