diff --git a/ylgamehall/AppDelegate.swift b/ylgamehall/AppDelegate.swift index 66e60a4..6a621a1 100644 --- a/ylgamehall/AppDelegate.swift +++ b/ylgamehall/AppDelegate.swift @@ -4,6 +4,7 @@ // import UIKit +import AVFoundation @main final class AppDelegate: UIResponder, UIApplicationDelegate { @@ -12,6 +13,11 @@ final class AppDelegate: UIResponder, UIApplicationDelegate { didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { application.applicationSupportsShakeToEdit = true + // AVAudioSession 默认 category 是 .soloAmbient,静音键开启时不响。 + // msext RootVC.m:1302 / fourviewVC.m:325 等多处显式设为 .playback, + // 让 H5