This way of setting view controllers broke in iOS 26, causing the bug you reported:
viewControllers = [firstVC, secondVC]
instead, try this:
if #available(iOS 26.0, *) {
splitVC = UISplitViewController(style: .doubleColumn)
splitVC.preferredSplitBehavior = .tile
splitVC.setViewController(firstVC, for: .primary)
splitVC.setViewController(secondVC, for: .secondary)
} else {
// your previous setup
}
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: