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

# primaryEdge

The side on which the primary view controller sits.

```
var primaryEdge: UISplitViewController.PrimaryEdge { get set }
```

## Discussion

Use this property to change the default arrangement of the child view controllers. The default value of this property is [`UISplitViewController.PrimaryEdge.leading`](/documentation/UIKit/UISplitViewController/PrimaryEdge-swift.enum/leading).

---

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)