IPA 升级 alert 文案补"退出 App 自动完成"步骤说明
行为不变(点确定 → 跳 Safari,App 留在后台),但 alert 文案明确告知用户 需要在安装确认弹窗点「安装」后从多任务列表上滑退出本 App,更新才会自动完成。 按钮恢复"确定"沿用 msext 风格。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
74d478f5ac
commit
6742308e14
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user