- Remove
Main.storyboard
file from the bundle. - Remove
main
from Target/General/Main Interface - Remove
Main
fromInfo.plist
atApplication Scene Manifest/Scene Configuration/Application Session Role/Default Configuration
. - Instantiate
window
with 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.