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
42e76996
Commit
42e76996
authored
Apr 25, 2025
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
状态栏问题处理
parent
a57ded6c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
YHHomeHoldViewPageViewController.swift
...Modules/Home(首页)/C/YHHomeHoldViewPageViewController.swift
+8
-1
Info.plist
galaxy/galaxy/Res/Info.plist
+2
-2
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHHomeHoldViewPageViewController.swift
View file @
42e76996
...
@@ -207,7 +207,7 @@ class YHHomeHoldViewPageViewController: YHBaseViewController, WKUIDelegate, WKNa
...
@@ -207,7 +207,7 @@ class YHHomeHoldViewPageViewController: YHBaseViewController, WKUIDelegate, WKNa
// 处于第一个item的时候,才允许屏幕边缘手势返回
// 处于第一个item的时候,才允许屏幕边缘手势返回
navigationController
?
.
interactivePopGestureRecognizer
?
.
isEnabled
=
(
segmentedView
.
selectedIndex
==
0
)
navigationController
?
.
interactivePopGestureRecognizer
?
.
isEnabled
=
(
segmentedView
.
selectedIndex
==
0
)
checkStatusBar
()
YHOSSManager
.
share
.
getOSSID
()
YHOSSManager
.
share
.
getOSSID
()
getTotalUnreadMsgCount
()
getTotalUnreadMsgCount
()
...
@@ -225,6 +225,13 @@ class YHHomeHoldViewPageViewController: YHBaseViewController, WKUIDelegate, WKNa
...
@@ -225,6 +225,13 @@ class YHHomeHoldViewPageViewController: YHBaseViewController, WKUIDelegate, WKNa
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
handleNotification(_:)
)
,
name
:
YhConstant
.
YhNotification
.
backToHomeNotification
,
object
:
nil
)
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
handleNotification(_:)
)
,
name
:
YhConstant
.
YhNotification
.
backToHomeNotification
,
object
:
nil
)
}
}
private
func
checkStatusBar
()
{
if
k_Height_statusBar
()
==
0
{
self
.
gk_statusBarHidden
=
false
setNeedsStatusBarAppearanceUpdate
()
}
}
@objc
func
handleNotification
(
_
notification
:
Notification
)
{
@objc
func
handleNotification
(
_
notification
:
Notification
)
{
if
let
userInfo
=
notification
.
userInfo
,
let
value
=
userInfo
[
"value"
]
as?
Int
{
if
let
userInfo
=
notification
.
userInfo
,
let
value
=
userInfo
[
"value"
]
as?
Int
{
segmentedView
.
selectItemAt
(
index
:
value
)
segmentedView
.
selectItemAt
(
index
:
value
)
...
...
galaxy/galaxy/Res/Info.plist
View file @
42e76996
...
@@ -2,6 +2,8 @@
...
@@ -2,6 +2,8 @@
<
!
D
O
C
TYP
E
plist
PU
B
LI
C
"-//
A
ppl
e
//
D
T
D
PLIST
1
.
0
//
E
N"
"http://www.
a
ppl
e
.
c
om/
D
T
D
s/Prop
e
rtyList-
1
.
0
.
d
t
d
"
>
<
!
D
O
C
TYP
E
plist
PU
B
LI
C
"-//
A
ppl
e
//
D
T
D
PLIST
1
.
0
//
E
N"
"http://www.
a
ppl
e
.
c
om/
D
T
D
s/Prop
e
rtyList-
1
.
0
.
d
t
d
"
>
<
plist
v
e
rsion="
1
.
0
"
>
<
plist
v
e
rsion="
1
.
0
"
>
<
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
UIViewControllerBasedStatusBarAppearance
<
/k
e
y
>
<
tru
e
/
>
<
k
e
y
>
CFBundleDocumentTypes
<
/k
e
y
>
<
k
e
y
>
CFBundleDocumentTypes
<
/k
e
y
>
<
a
rr
a
y
>
<
a
rr
a
y
>
<
d
i
c
t
>
<
d
i
c
t
>
...
@@ -134,8 +136,6 @@
...
@@ -134,8 +136,6 @@
<
k
e
y
>
UIImageName
<
/k
e
y
>
<
k
e
y
>
UIImageName
<
/k
e
y
>
<
string
>
AppIcon
<
/string
>
<
string
>
AppIcon
<
/string
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
k
e
y
>
UIViewControllerBasedStatusBarAppearance
<
/k
e
y
>
<
fa
ls
e
/
>
<
k
e
y
>
agc_applinking_not_read_pasteboard
<
/k
e
y
>
<
k
e
y
>
agc_applinking_not_read_pasteboard
<
/k
e
y
>
<
fa
ls
e
/
>
<
fa
ls
e
/
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
...
...
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