优化联网提示

This commit is contained in:
joywayer
2026-07-04 18:03:24 +08:00
parent 842ca2b9dc
commit 8a7d543cdc
@@ -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 = "连接超时,请稍后重试。"