Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
GMBase
Project
Project
Details
Activity
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
GMBase
Commits
d8f12b21
Commit
d8f12b21
authored
Jun 19, 2020
by
周亮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改is_first逻辑
parent
c5a5fef0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
WMBaseViewController.m
GMBase/Classes/WMBaseViewController.m
+0
-6
No files found.
GMBase/Classes/WMBaseViewController.m
View file @
d8f12b21
...
...
@@ -66,11 +66,6 @@
[
self
initRefererLink
];
[
self
initReferrerTabName
];
[
self
setupEmptyView
];
//从后台进到前台需要将is_first置为0
[[
NSNotificationCenter
defaultCenter
]
addObserver
:
self
selector
:
@selector
(
baseViewControllerWillEnterForeground
)
name
:
UIApplicationWillEnterForegroundNotification
object
:
nil
];
}
-
(
void
)
baseViewControllerWillEnterForeground
{
self
.
isFirst
=
0
;
}
-
(
void
)
setupEmptyView
{
_emptyView
=
[[
GMEmptyView
alloc
]
initWithFrame
:
CGRectZero
];
...
...
@@ -119,7 +114,6 @@
-
(
void
)
viewWillDisappear
:
(
BOOL
)
animated
{
[
super
viewWillDisappear
:
animated
];
self
.
isFirst
=
0
;
[[
Phobos
sharedClient
]
onPVEnd
:
self
];
}
...
...
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