- Remove
Main.storyboardfile from the bundle. - Remove
mainfrom Target/General/Main Interface - Remove
MainfromInfo.plistatApplication Scene Manifest/Scene Configuration/Application Session Role/Default Configuration. - Instantiate
windowwith first view controller inSceneDelegate.
Replace this method.
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
// Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`.
// If using a storyboard, the `window` property will automatically be initialized and attached to the scene.