Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let yourMenuVC = UIViewController()
- let yourMainVC = UIViewController()
- let yourSplitVC = UISplitViewController()
- yourSplitVC.viewControllers = [yourMenuVC, yourMainVC]
- UIApplication.shared.keyWindow?.rootViewController = yourSplitVC
Add Comment
Please, Sign In to add comment