// // iOSFirstApp.swift // iOSFirst // // Created by 孙宇峰 on 2023/1/31. // import SwiftUI let isDebug = true class AppDelegate: NSObject, UIApplicationDelegate { func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool { Thread.sleep(forTimeInterval: 1.5) return true } func applicationDidReceiveMemoryWarning(_ application: UIApplication) { print("log-DidReceiveMemoryWarning") } } @main struct iOSFirstApp: App { @UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate var body: some Scene { WindowGroup { LoginView() SUIToastViewContainer(stackOverlap: .overlap) } } }