import UIKit

class SceneDelegate: UIResponder, UIWindowSceneDelegate {
    var window: UIWindow?

    func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
        guard let windowScene = (scene as? UIWindowScene) else { return }
        // 切替
        let window = UIWindow(windowScene: scene as! UIWindowScene)
        self.window = window
        let vcForUD = ViewControllerForUpdate()

        window.rootViewController = vcForUD

        window.makeKeyAndVisible()

        window.windowScene = windowScene

    }

 */

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です