1. Delete the storyboard (your first step to the light side, storyboards are truly awful).



2. In Info.plist, delete the line Main Storyboard file base name


3. In the AppDelegate, modify the didFinishLaunchingWithOptions function to make your view controller the root view controller of the window, and then make the window visible.

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
    let vc = ViewController()

    window = window = UIWindow(frame: UIScreen.main.bounds)
    window?.rootViewController = vc
    return true
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *