修复 AppDelegate window 兼容性

This commit is contained in:
2026-07-07 14:22:43 +08:00
parent 741e701750
commit 3ee408daf1
2 changed files with 6 additions and 1 deletions

View File

@ -10,7 +10,8 @@ import UIKit
@main
class AppDelegate: UIResponder, UIApplicationDelegate {
/// Objective-C SDK UIApplicationDelegate.window 访
@objc var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
UmengBootstrap.configureIfNeeded()