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

# prefersPageSizing

A Boolean value that indicates whether the sheet sizes itself for readable content.

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

## Discussion

The default value is <doc://com.apple.documentation/documentation/Swift/true>. The default value indicates the sheet uses [`UIModalPresentationStyle.pageSheet`](/documentation/UIKit/UIModalPresentationStyle/pageSheet) behavior, in which the sheet width follows the readable width.

When the value is set to <doc://com.apple.documentation/documentation/Swift/false>, the sheet uses [`UIModalPresentationStyle.formSheet`](/documentation/UIKit/UIModalPresentationStyle/formSheet) behavior, in which the sheet size follows the presented view controller’s [`preferredContentSize`](/documentation/UIKit/UIViewController/preferredContentSize).

---

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)