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
ec555e7b
Commit
ec555e7b
authored
Jun 19, 2020
by
乔金柱
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'zl_base' into 'master'
Zl base See merge request
!25
parents
8c8bda6c
4c6c6f02
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
WMBaseViewController.m
GMBase/Classes/WMBaseViewController.m
+0
-7
No files found.
GMBase/Classes/WMBaseViewController.m
View file @
ec555e7b
...
...
@@ -47,7 +47,6 @@
// 在 initController 中初始化自定义导航栏有很大好处。至少可以保证视图被push之前就可以访问navigationBar,以配置title等属性
[
self
customNavigationBar
];
self
.
isFirst
=
1
;
}
-
(
void
)
dealloc
{
...
...
@@ -66,11 +65,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 +113,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