Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
e014a4fc
Commit
e014a4fc
authored
Oct 20, 2025
by
Alex朱枝文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员服务改成弹过一次就不让再弹出
parent
de0f2efd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
YHHomeHoldViewPageViewController.swift
...Modules/Home(首页)/C/YHHomeHoldViewPageViewController.swift
+4
-2
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHHomeHoldViewPageViewController.swift
View file @
e014a4fc
...
@@ -679,8 +679,10 @@ private extension YHHomeHoldViewPageViewController {
...
@@ -679,8 +679,10 @@ private extension YHHomeHoldViewPageViewController {
// 获取 UserDefaults 中存储的最后一个显示弹出框的版本号
// 获取 UserDefaults 中存储的最后一个显示弹出框的版本号
let
lastShownVersion
=
UserDefaults
.
standard
.
string
(
forKey
:
"lastShownPopupVersion"
)
let
lastShownVersion
=
UserDefaults
.
standard
.
string
(
forKey
:
"lastShownPopupVersion"
)
// 如果版本号不同,则显示弹出框
// // 如果版本号不同,则显示弹出框
return
lastShownVersion
!=
currentVersion
// return lastShownVersion != currentVersion
// 会员服务改成弹过一次就不让再弹出
return
lastShownVersion
==
nil
}
}
private
func
updateAppVersion
()
{
private
func
updateAppVersion
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment