In iOS 26, the UISplitViewController primary or detail ViewController is displayed in modal mode, which is not correct. How to remove it?
Code for my UISplitViewController subclass:
override func viewDidLoad() {
super.viewDidLoad()
}
override var preferredStatusBarStyle: UIStatusBarStyle {
get {
.darkContent
}
}
override var preferredDisplayMode: UISplitViewController.DisplayMode {
get {
.oneBesideSecondary
}
set {
}
}
override var presentsWithGesture: Bool {
get {
false
}
set {
}
}


