Fix AppDelegate window compatibility
This commit is contained in:
@ -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()
|
||||
|
||||
Reference in New Issue
Block a user