Split controller - setting the table view as the initial view controller

I am trying to create a database with a split view controller.

My question is, how to set table view as initial view controller?

The default view manager is used by default. How can I set up a table view in a split view controller as the initial view controller?

+4
source share
1 answer

, , , . , . , AppDelegate . true.

extension AppDelegate : UISplitViewControllerDelegate {
    func splitViewController(_ svc: UISplitViewController, collapseSecondary vc2: UIViewController, onto vc1: UIViewController) -> Bool {
        return true
    }
}

, , , .

0

All Articles