UIKit
How to create UISplitViewController programmatically
Learn how to create and display UISplitViewControllers programmatically
Let’s say you’re building a Mail alternative app. You want to support iPhones and iPads. Let’s stick to the standard mail app’s navigation flow for this app.