<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "tvOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UISplitViewController/SplitBehavior-swift.enum/displace",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UISplitViewControllerSplitBehavior@UISplitViewControllerSplitBehaviorDisplace"
  },
  "title" : "UISplitViewController.SplitBehavior.displace"
}
-->

# UISplitViewController.SplitBehavior.displace

The sidebars displace the secondary view controller instead of overlapping it, moving it partially offscreen.

```
case displace
```

## Discussion

This split behavior shows one or both sidebars tiled next to the secondary view controller. If both sidebars are visible, they partially displace the secondary view controller offscreen to make space for the primary column. The secondary view controller is dimmed out, preventing interaction with its view.

The possible display modes for this split behavior are:

- [`UISplitViewController.DisplayMode.secondaryOnly`](/documentation/UIKit/UISplitViewController/DisplayMode-swift.enum/secondaryOnly)
- [`UISplitViewController.DisplayMode.oneBesideSecondary`](/documentation/UIKit/UISplitViewController/DisplayMode-swift.enum/oneBesideSecondary)
- [`UISplitViewController.DisplayMode.twoDisplaceSecondary`](/documentation/UIKit/UISplitViewController/DisplayMode-swift.enum/twoDisplaceSecondary)

If the current display mode is [`UISplitViewController.DisplayMode.oneBesideSecondary`](/documentation/UIKit/UISplitViewController/DisplayMode-swift.enum/oneBesideSecondary) and [`presentsWithGesture`](/documentation/UIKit/UISplitViewController/presentsWithGesture) is <doc://com.apple.documentation/documentation/Swift/true>, the split view controller presents a special bar button item styled as a back-chevron icon. When a user taps this button, it changes the current display mode to [`UISplitViewController.DisplayMode.twoDisplaceSecondary`](/documentation/UIKit/UISplitViewController/DisplayMode-swift.enum/twoDisplaceSecondary).

---

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)