Skip to content

iOS dual pane with UIArrangementViewController (parked) #8

Description

@erkamyaman

iOS 27.1 adds UIArrangementViewController, Apple's way to arrange two child view controllers around the fold (UISplitArrangement side by side or stacked, UIOverlayArrangement one over the other), with animated transitions.

Findings (2026-09-20, from the Xcode 27.1 SDK): it holds exactly two view controllers. A Capacitor app is one WKWebView in one view controller, so a plain arrangement gains nothing over the fold position, segments and CSS variables the plugin already reports. There is nothing to put in the second placement.

The only version worth building is a dual-pane feature, the iOS twin of Android's startDualScreen():

await Foldable.startSplitPane({ url: 'second.html' });
await Foldable.stopSplitPane();

The plugin would host a second web view in the secondary placement, with the system handling the split and the animation.

Open questions:

  • The second web view has no Capacitor bridge, the same limitation as Android dual screen. Is that acceptable?
  • The app has to host Capacitor's view controller inside a UIArrangementViewController, which means a storyboard change, like the MainViewController recipe in the iPhone Duo guide.
  • Does anyone actually want it? Nobody has asked yet.

Decision: parked. Plain arrangement support is not worth it. Revisit the dual-pane idea after iPhone Duo ships on October 23 and we see real demand.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions