<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIPageViewController/OptionsKey/interPageSpacing",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@UIPageViewControllerOptionInterPageSpacingKey"
  },
  "title" : "interPageSpacing"
}
-->

# interPageSpacing

Space between pages, in points.

```
static let interPageSpacing: UIPageViewController.OptionsKey
```

## Discussion

The value should be a <doc://com.apple.documentation/documentation/CoreFoundation/CGFloat-swift.struct> wrapped in an instance of <doc://com.apple.documentation/documentation/Foundation/NSNumber>. The default value is zero. An inter-page spacing is only valid if the transition style is [`UIPageViewController.TransitionStyle.scroll`](/documentation/UIKit/UIPageViewController/TransitionStyle-swift.enum/scroll).

---

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)