How to remove Scene Delegate from iOS Application?
It is a complete solution for empty project generated with Xcode (with storyboard)
- Remove
SceneDelegate.swift
file - Remove
Application Scene Manifest
fromInfo.plist
file - Paste this code to your
AppDelegate.swift
file
import UIKit@mainclass AppDelegate: UIResponder, UIApplicationDelegate { var window:UIWindow? func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { self.window = UIWindow(frame: UIScreen.main.bounds) window?.rootViewController = UIStoryboard(name: "Main", bundle: nil).instantiateInitialViewController() window?.makeKeyAndVisible() return true }}