新增 SwiftUI 桥接层与单元测试,更新 Tab 图标资源命名和多倍图,同步调整 UI Test 的 Tab/扫码定位逻辑。 Co-authored-by: Cursor <cursoragent@cursor.com>
26 lines
475 B
Swift
26 lines
475 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()
|
||
MJRefreshSupport.configure()
|
||
}
|
||
|
||
var body: some Scene {
|
||
WindowGroup {
|
||
RootView()
|
||
}
|
||
}
|
||
}
|