Others

How to remove Main.storyboard properly in swift?

Step_1: Remove Main.storyboard from project file & select move to trash option. Step_2: Remove Main Storyboard File Base Name in your Info.plist. Step_3: Remove Main.storyboard from the Scene Manifest in your...

J
Joynal Abedin
6

Step_1: Remove Main.storyboard from project file & select move to trash option.

\"\"
\"\"

Step_2: Remove Main Storyboard File Base Name in your Info.plist.

\"\"

Step_3: Remove Main.storyboard from the Scene Manifest in your Info.plist

\"\"

Step_4: Set root functionality in SceneDelegate file

\"\"
guard let windowScene = (scene as? UIWindowScene) else { return }
        
        let window = UIWindow(windowScene: windowScene)
        window.rootViewController = ViewController()
        self.window = window
        window.makeKeyAndVisible()
J

Written by Joynal Abedin

Passionate about technology, code, and sharing knowledge.

0 Comments

Leave a Comment