37 lines
851 B
Swift
37 lines
851 B
Swift
//
|
|
// SceneDelegate.swift
|
|
// WebAppUIKitBase
|
|
//
|
|
// Created by Sean Kim on 10/21/24.
|
|
//
|
|
|
|
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 }
|
|
window = UIWindow(frame: UIScreen.main.bounds)
|
|
window?.windowScene = windowScene
|
|
// 여기서 메인 화면 띄우는 걸 함
|
|
window?.rootViewController = IntroVC()
|
|
|
|
window?.makeKeyAndVisible()
|
|
}
|
|
|
|
func scene(_ scene: UIScene, openURLContexts URLContexts: Set<UIOpenURLContext>) {
|
|
guard let url = URLContexts.first?.url else {
|
|
return
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|