将最低部署版本降至 iOS 16,以 ObservableObject 替换 @Observable,新增导航与 UI 兼容层,并补充登录冒烟 UI 测试。 Co-authored-by: Cursor <cursoragent@cursor.com>
25 lines
438 B
Swift
25 lines
438 B
Swift
//
|
||
// suixinkanApp.swift
|
||
// suixinkan
|
||
//
|
||
// Created by hanqiu on 2026/6/18.
|
||
//
|
||
|
||
import SwiftUI
|
||
|
||
/// 应用入口实体,负责把 SwiftUI 根视图挂载到主窗口。
|
||
@main
|
||
struct suixinkanApp: App {
|
||
@UIApplicationDelegateAdaptor(AppDelegate.self) private var appDelegate
|
||
|
||
init() {
|
||
AppUITestLaunchState.resetIfNeeded()
|
||
}
|
||
|
||
var body: some Scene {
|
||
WindowGroup {
|
||
RootView()
|
||
}
|
||
}
|
||
}
|