diff --git a/ylgamehall/Source/WebView/WebContainerViewController.swift b/ylgamehall/Source/WebView/WebContainerViewController.swift index 91b4c30..e975d72 100644 --- a/ylgamehall/Source/WebView/WebContainerViewController.swift +++ b/ylgamehall/Source/WebView/WebContainerViewController.swift @@ -231,14 +231,15 @@ public final class WebContainerViewController: UIViewController { title = "当前未联网" message = "请检查 Wi-Fi 或蜂窝数据后重试。" actionTitle = "重试" - case .wifiDenied: - title = "未授权使用无线局域网" + case .wifiDenied, .cellularDenied: + // 文案与 iOS Settings → 本应用 → 「无线数据」combined toggle 对齐: + // 该开关有"关闭 / WLAN / WLAN 与蜂窝数据"三档,是用户唯一可操作的 + // 入口。NWPath 的 wifiDenied vs cellularDenied 内部区分保留在 + // BootErrorKind 里(供日志排查),但用户文案不再区分——两种情况用户 + // 都要走同一条路径(打开"无线数据"),精确区分反而让"文案对不上设置项"。 + title = "未授权使用无线数据" message = "请前往 iOS 设置 → 本应用 → 打开「无线数据」,授权后将自动重试。" actionTitle = "前往设置" - case .cellularDenied: - title = "未授权使用蜂窝数据" - message = "请前往 iOS 设置 → 本应用 → 打开「无线数据」,或连接 Wi-Fi 后重试。" - actionTitle = "前往设置" case .networkTimeout: title = "网络较慢" message = "连接超时,请稍后重试。"