<!--
{
  "availability" : [
    "iOS: 7.0.0 - 12.0.0",
    "iPadOS: 7.0.0 - 12.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIWebView/pageLength",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIWebView(py)pageLength"
  },
  "title" : "pageLength"
}
-->

# pageLength

The size of each page, in points, in the direction that the pages flow.

```
var pageLength: CGFloat { get set }
```

## Discussion

When [`paginationMode`](/documentation/UIKit/UIWebView/paginationMode-swift.property) is right to left or left to right, this property represents the width of each page. When [`paginationMode`](/documentation/UIKit/UIWebView/paginationMode-swift.property) is top to bottom or bottom to top, this property represents the height of each page.

The default value is `0`, which means the layout uses the size of the viewport to determine the dimensions of the page. Adjusting the value of this property causes a relayout.

---

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)