import UIKit

class SceneDelegate: UIResponder, UIWindowSceneDelegate {

    var window: UIWindow?

    func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
        // Check if the scene is a window scene
        guard let windowScene = scene as? UIWindowScene else { return }

        // Create a new UIWindow using the windowScene
        let window = UIWindow(windowScene: windowScene)

        // Specify the initial view controller you want to load
        let initialViewController = UIStoryboard(name: "Main", bundle: nil).instantiateViewController(withIdentifier: "YourInitialViewControllerIdentifier")

        // Set the root view controller of the window
        window.rootViewController = initialViewController

        // Assign the UIWindow to the window property
        self.window = window

        // Make the window visible
        window.makeKeyAndVisible()
    }

    // Other methods...

}
