From 6742308e14f68d1a25504715f1b57c7163b1f43c Mon Sep 17 00:00:00 2001 From: joywayer Date: Sat, 27 Jun 2026 21:22:32 +0800 Subject: [PATCH] =?UTF-8?q?IPA=20=E5=8D=87=E7=BA=A7=20alert=20=E6=96=87?= =?UTF-8?q?=E6=A1=88=E8=A1=A5"=E9=80=80=E5=87=BA=20App=20=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E5=AE=8C=E6=88=90"=E6=AD=A5=E9=AA=A4=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 行为不变(点确定 → 跳 Safari,App 留在后台),但 alert 文案明确告知用户 需要在安装确认弹窗点「安装」后从多任务列表上滑退出本 App,更新才会自动完成。 按钮恢复"确定"沿用 msext 风格。 Co-Authored-By: Claude Opus 4.7 --- ylgamehall/Source/WebView/WebContainerViewController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ylgamehall/Source/WebView/WebContainerViewController.swift b/ylgamehall/Source/WebView/WebContainerViewController.swift index e511f57..5d4ae68 100644 --- a/ylgamehall/Source/WebView/WebContainerViewController.swift +++ b/ylgamehall/Source/WebView/WebContainerViewController.swift @@ -559,10 +559,10 @@ public final class WebContainerViewController: UIViewController { // 无需主动介入。 let alert = UIAlertController( title: "需要升级", - message: "检测到新版本,点击「前往下载」开始更新。\n\n安装确认弹窗出现后请点击「安装」,等待下载完成即可自动替换。", + message: "检测到新版本,点击「确定」前往下载。\n\n安装确认弹窗出现后请点击「安装」,然后从多任务列表上滑退出本 App,更新即可自动完成。", preferredStyle: .alert ) - alert.addAction(UIAlertAction(title: "前往下载", style: .default) { _ in + alert.addAction(UIAlertAction(title: "确定", style: .default) { _ in if let url = URL(string: downloadURL) { UIApplication.shared.open(url) }