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
8435be69
Commit
8435be69
authored
Jun 27, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 卡片使用指引显示
parent
ea3ab492
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
YHMatchResultListViewController.swift
...les/Community(社区)/C/YHMatchResultListViewController.swift
+11
-2
No files found.
galaxy/galaxy/Classes/Modules/Community(社区)/C/YHMatchResultListViewController.swift
View file @
8435be69
...
...
@@ -347,8 +347,17 @@ class YHMatchResultListViewController: YHBaseViewController {
[
weak
self
]
finish
in
guard
let
self
=
self
else
{
return
}
self
.
cardContainer
.
isHidden
=
false
self
.
guideView
.
isHidden
=
false
self
.
view
.
bringSubviewToFront
(
self
.
guideView
)
let
showCardGuideKey
=
"kHasShowCardGuide"
if
let
hasShowCardGuide
=
UserDefaults
.
standard
.
object
(
forKey
:
showCardGuideKey
)
as?
Bool
,
hasShowCardGuide
==
true
{
self
.
guideView
.
isHidden
=
true
}
else
{
// 第一次展示卡片使用指引
UserDefaults
.
standard
.
set
(
true
,
forKey
:
showCardGuideKey
)
UserDefaults
.
standard
.
synchronize
()
self
.
guideView
.
isHidden
=
false
self
.
view
.
bringSubviewToFront
(
self
.
guideView
)
}
view1
.
removeFromSuperview
()
view2
.
removeFromSuperview
()
view3
.
removeFromSuperview
()
...
...
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