<!--
{
  "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/DisplayMode-swift.enum/twoOverSecondary",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UISplitViewControllerDisplayMode@UISplitViewControllerDisplayModeTwoOverSecondary"
  },
  "title" : "UISplitViewController.DisplayMode.twoOverSecondary"
}
-->

# UISplitViewController.DisplayMode.twoOverSecondary

Two sidebars are layered on top of the secondary view controller, leaving the secondary view controller partially visible.

```
case twoOverSecondary
```

## Discussion

This display mode is only available for [`UISplitViewController.Style.tripleColumn`](/documentation/UIKit/UISplitViewController/Style-swift.enum/tripleColumn) interfaces.

This display mode shows both sidebars layered on top of the secondary view controller, partially obscuring it. The secondary view controller is dimmed out, preventing interaction with its view. Touching the dimmed view dismisses the overlay and returns the interface to the [`UISplitViewController.DisplayMode.secondaryOnly`](/documentation/UIKit/UISplitViewController/DisplayMode-swift.enum/secondaryOnly) display mode.

The interactive gesture can move the interface freely through [`UISplitViewController.DisplayMode.oneOverSecondary`](/documentation/UIKit/UISplitViewController/DisplayMode-swift.enum/oneOverSecondary) to [`UISplitViewController.DisplayMode.secondaryOnly`](/documentation/UIKit/UISplitViewController/DisplayMode-swift.enum/secondaryOnly) and back, stopping at any of the display modes depending on the user interaction.

This display mode is available for the [`UISplitViewController.SplitBehavior.overlay`](/documentation/UIKit/UISplitViewController/SplitBehavior-swift.enum/overlay) split behavior.

---

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)