启动文字提示,h5调试加入

This commit is contained in:
joywayer
2026-06-24 21:20:05 +08:00
parent 1d231a52ef
commit 06b7686e17
12 changed files with 70 additions and 29 deletions
@@ -359,6 +359,12 @@ public final class WebContainerViewController: UIViewController {
throw BootError.ipaUpgradeRequired(downloadURL: dl)
}
// config zip ""
// "..." zip CDN DNS+TLS
// " 1%" UI
//
splash.update(text: "校验版本中...", progress: nil)
// H5 zip zip splash.showError
// LobbyZipUpgrader.onProgress URLSession delegate
// hop MainActor splash UI
@@ -450,12 +456,15 @@ public final class WebContainerViewController: UIViewController {
bridge.call("getnetwork", data: .string("\(code)"), callback: nil)
}
// §3.2 4 appservice App 沿
// §3.2 4 appservice App 沿 msext WKWebView
// · "2"· "1" daoqi/msext NewRootVC.m:1773/1782
// gameController.m:1323/1332AppDelegate post NSNotification
// H5 ""
AppLifecycleObserver.shared.onBackground = {
bridge.call("appservice", data: .string("1"), callback: nil)
bridge.call("appservice", data: .string("2"), callback: nil)
}
AppLifecycleObserver.shared.onForeground = {
bridge.call("appservice", data: .string("2"), callback: nil)
bridge.call("appservice", data: .string("1"), callback: nil)
}
// §3.2 12 getWebdata backgameData / data H5