Guest User

Untitled

a guest
Nov 22nd, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. let yourMenuVC = UIViewController()
  2. let yourMainVC = UIViewController()
  3. let yourSplitVC = UISplitViewController()
  4. yourSplitVC.viewControllers = [yourMenuVC, yourMainVC]
  5. UIApplication.shared.keyWindow?.rootViewController = yourSplitVC
Add Comment
Please, Sign In to add comment