From ccf9743ff1f2d9b1aa11aa4d241260e8f10a5666 Mon Sep 17 00:00:00 2001
From: liangzhenying <867174124@qq.com>
Date: Sat, 28 Feb 2026 16:18:30 +0800
Subject: [PATCH] =?utf8?q?=E7=A6=81=E7=94=A8iOS26=E6=B6=B2=E6=80=81?=
=?utf8?q?=E7=8E=BB=E7=92=83=E6=95=88=E6=9E=9C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit
---
ShenYin/ShenYin.xcodeproj/project.pbxproj | 4 ++--
ShenYin/ShenYin/Info.plist | 2 ++
ShenYin/ShenYin/ShenYin copy-Info.plist | 2 ++
ShenYin/ShenYin/UI/Home/Dialog/DialogSplitView.swift | 12 +++++-------
.../ShenYin/UI/Home/Dialog/DialogTranslateCell.swift | 2 +-
ShenYin/ShenYin/UI/Mine/LanguageVC.swift | 7 +++++--
6 files changed, 17 insertions(+), 12 deletions(-)
diff --git a/ShenYin/ShenYin.xcodeproj/project.pbxproj b/ShenYin/ShenYin.xcodeproj/project.pbxproj
index dd62d89..c69caea 100644
--- a/ShenYin/ShenYin.xcodeproj/project.pbxproj
+++ b/ShenYin/ShenYin.xcodeproj/project.pbxproj
@@ -1531,7 +1531,7 @@
CODE_SIGN_ENTITLEMENTS = ShenYin/PLAYBOY.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 202602271705;
+ CURRENT_PROJECT_VERSION = 202602271457;
DEVELOPMENT_TEAM = JKLJ58J33Q;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
@@ -1587,7 +1587,7 @@
CODE_SIGN_ENTITLEMENTS = ShenYin/PLAYBOY.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 202602271705;
+ CURRENT_PROJECT_VERSION = 202602271457;
DEVELOPMENT_TEAM = JKLJ58J33Q;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
diff --git a/ShenYin/ShenYin/Info.plist b/ShenYin/ShenYin/Info.plist
index 69dbc59..40f0328 100644
--- a/ShenYin/ShenYin/Info.plist
+++ b/ShenYin/ShenYin/Info.plist
@@ -53,5 +53,7 @@
NSMicrophoneUsageDescription
å½é³éè¦ä½¿ç¨éº¦å
é£
+ UIDesignRequiresCompatibility
+
diff --git a/ShenYin/ShenYin/ShenYin copy-Info.plist b/ShenYin/ShenYin/ShenYin copy-Info.plist
index 1348665..8ca32a3 100644
--- a/ShenYin/ShenYin/ShenYin copy-Info.plist
+++ b/ShenYin/ShenYin/ShenYin copy-Info.plist
@@ -53,5 +53,7 @@
UIViewControllerBasedStatusBarAppearance
+ UIDesignRequiresCompatibility
+
diff --git a/ShenYin/ShenYin/UI/Home/Dialog/DialogSplitView.swift b/ShenYin/ShenYin/UI/Home/Dialog/DialogSplitView.swift
index 869595c..5dc996d 100644
--- a/ShenYin/ShenYin/UI/Home/Dialog/DialogSplitView.swift
+++ b/ShenYin/ShenYin/UI/Home/Dialog/DialogSplitView.swift
@@ -33,10 +33,9 @@ class DialogSplitView: BaseView {
override func setupViews() {
addSubviews([tableView1,tableView2,line])
-// backgroundColor = .red
+ backgroundColor = .color(.bgColor)
tableView1.do { v in
v.backgroundColor = .color(.bgColor)
-// v.backgroundColor = .green
v.delegate = self
v.dataSource = self
v.estimatedRowHeight = 60
@@ -46,7 +45,6 @@ class DialogSplitView: BaseView {
}
tableView2.do { v in
v.backgroundColor = .color(.bgColor)
-// v.backgroundColor = .yellow
v.delegate = self
v.dataSource = self
v.estimatedRowHeight = 60
@@ -60,17 +58,17 @@ class DialogSplitView: BaseView {
make.top.equalToSuperview()
make.left.equalToSuperview()
make.width.equalTo(kScreenWid)
- make.height.equalToSuperview().multipliedBy(0.5)
+ make.bottom.equalTo(line.snp.top).offset(-18)
}
tableView2.snp.makeConstraints { make in
- make.top.equalTo(tableView1.snp.bottom)
+ make.top.equalTo(line.snp.bottom).offset(18)
make.left.equalToSuperview()
make.width.equalTo(kScreenWid)
- make.height.equalToSuperview().multipliedBy(0.5)
+ make.bottom.equalToSuperview()
}
line.snp.makeConstraints { make in
make.left.right.equalToSuperview().inset(36)
- make.top.equalTo(tableView2.snp.top )
+ make.centerY.equalToSuperview()
make.height.equalTo(1)
}
}
diff --git a/ShenYin/ShenYin/UI/Home/Dialog/DialogTranslateCell.swift b/ShenYin/ShenYin/UI/Home/Dialog/DialogTranslateCell.swift
index a99d0b4..4bab24e 100644
--- a/ShenYin/ShenYin/UI/Home/Dialog/DialogTranslateCell.swift
+++ b/ShenYin/ShenYin/UI/Home/Dialog/DialogTranslateCell.swift
@@ -117,7 +117,7 @@ class DialogTranslateCell:BaseTableViewCell{
make.right.equalToSuperview().inset(18)
}
bgView.backgroundColor = .color(.theme)
- originalLabel.textColor = .white
+ originalLabel.textColor = UIColor.white.withAlphaComponent(0.8)
translationLabel.textColor = .white
}
else{
diff --git a/ShenYin/ShenYin/UI/Mine/LanguageVC.swift b/ShenYin/ShenYin/UI/Mine/LanguageVC.swift
index 5ef482d..057996c 100644
--- a/ShenYin/ShenYin/UI/Mine/LanguageVC.swift
+++ b/ShenYin/ShenYin/UI/Mine/LanguageVC.swift
@@ -53,7 +53,7 @@ extension LanguageVC:UITableViewDelegate,UITableViewDataSource {
if indexPath.row == 0 {
cell.bgView.yc.setCorners(withRoundedRect: rect, roundingCorners: [.topLeft,.topRight], cornerRadii: CGSize(width: 8, height: 8))
}
- else if indexPath.row == LoginVM.shared.countryList.count - 1{
+ else if indexPath.row == list.count - 1{
cell.bgView.yc.setCorners(withRoundedRect: rect, roundingCorners: [.bottomLeft,.bottomRight], cornerRadii: CGSize(width: 8, height: 8))
}
else{
@@ -67,7 +67,10 @@ extension LanguageVC:UITableViewDelegate,UITableViewDataSource {
CCConfig.appLanguage = lan
LanuageCache.save(lan: CCConfig.appLanguage)
App.shared.didLogin()
- App.shared.tabController?.selectedIndex = 4
+ if let index = App.shared.tabController?.viewControllers?.count {
+ App.shared.tabController?.selectedIndex = index - 1
+ }
+
App.shared.goToPage(LanguageVC())
}
}
--
2.17.1