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

# splitBehavior

The current behavior that determines how the child view controllers appear in relation to each other.

```
var splitBehavior: UISplitViewController.SplitBehavior { get }
```

## Discussion

This property controls how a split view controller’s secondary view controller appears in relation to the other child view controllers. To change the current split behavior, change the value of the [`preferredSplitBehavior`](/documentation/UIKit/UISplitViewController/preferredSplitBehavior) property.

The value of this property affects which display modes are available for the split view interface. For possible configurations, see [`UISplitViewController.SplitBehavior`](/documentation/UIKit/UISplitViewController/SplitBehavior-swift.enum).

---

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)