Using UIDocumentViewController with UISplitViewController in Xcode 26

I created a UIKit Document-Based App in Xcode 26. When using UIDocumentViewController on its own, everything works fine.

However, when I try to use it with UISplitViewController or add a Toolbar, I run into an issue: the Sidebar and Toolbar UI remain visible above the Document Browser.

Older sample projects show a Document-Based App set up with UISplitViewController, but it seems like with the more recent recommended approach, UISplitViewController may no longer be supported. Is that correct?

While I could give up on using a Toolbar, I’d really like to know if there’s still a way to use UISplitViewController together with UIDocumentViewController.

Using UIDocumentViewController with UISplitViewController in Xcode 26
 
 
Q