Files
suixinkan_ios_uikit/suixinkan_ios/SceneDelegate.swift
汉秋 d99a5b1bf8 Advance UIKit rewrite with AMap integration and core UI modules.
Integrate高德 SDK with simulator-safe build flags, add map views for operating area and punch points, refactor main tabs and key feature screens to UIKit with Diffable lists, and document Swift concurrency defaults in AGENTS.md.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 15:16:12 +08:00

51 lines
1.4 KiB
Swift
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// SceneDelegate.swift
// suixinkan_ios
//
// Created by hanqiu on 2026/6/26.
//
import UIKit
/// Scene `RootViewController`
class SceneDelegate: UIResponder, UIWindowSceneDelegate {
var window: UIWindow?
/// Scene UI
func scene(
_ scene: UIScene,
willConnectTo session: UISceneSession,
options connectionOptions: UIScene.ConnectionOptions
) {
guard let windowScene = scene as? UIWindowScene else { return }
AppUITestLaunchState.resetIfNeeded()
let window = UIWindow(windowScene: windowScene)
window.rootViewController = RootViewController()
window.makeKeyAndVisible()
self.window = window
}
/// Scene
func sceneDidDisconnect(_ scene: UIScene) {
}
/// Scene
func sceneDidBecomeActive(_ scene: UIScene) {
}
/// Scene
func sceneWillResignActive(_ scene: UIScene) {
}
/// Scene
func sceneWillEnterForeground(_ scene: UIScene) {
}
/// Scene
func sceneDidEnterBackground(_ scene: UIScene) {
}
}