|
@@ -53,18 +53,17 @@
|
|
// Do any additional setup after loading the view.
|
|
// Do any additional setup after loading the view.
|
|
self.ks_prefersNavigationBarHidden = YES;
|
|
self.ks_prefersNavigationBarHidden = YES;
|
|
[self configUI];
|
|
[self configUI];
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+- (void)viewWillAppear:(BOOL)animated {
|
|
|
|
+ [super viewWillAppear:animated];
|
|
|
|
+ [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;
|
|
if (self.sourceModel) {
|
|
if (self.sourceModel) {
|
|
[self evaluateSource];
|
|
[self evaluateSource];
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
[self requestData];
|
|
[self requestData];
|
|
}
|
|
}
|
|
-
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-- (void)viewWillAppear:(BOOL)animated {
|
|
|
|
- [super viewWillAppear:animated];
|
|
|
|
- [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
- (void)viewDidDisappear:(BOOL)animated {
|
|
- (void)viewDidDisappear:(BOOL)animated {
|