---
title: primaryEdge
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uisplitviewcontroller/primaryedge-swift.property
---

# primaryEdge

The side on which the primary view controller sits.

## Declaration

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

## Discussion

Discussion Use this property to change the default arrangement of the child view controllers. The default value of this property is UISplitViewController.PrimaryEdge.leading.

## See Also

### Positioning the primary view controller

- [UISplitViewController.PrimaryEdge](uikit/uisplitviewcontroller/primaryedge-swift.enum.md)
