|
@@ -101,7 +101,11 @@ typedef enum {
|
|
|
|
|
|
|
|
[self clearNavigationbar];
|
|
[self clearNavigationbar];
|
|
|
[self configureNavigationBar];
|
|
[self configureNavigationBar];
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+- (void)viewDidAppear:(BOOL)animated {
|
|
|
|
|
+ [super viewDidAppear:animated];
|
|
|
|
|
|
|
|
if (self.mode == HomeModeRecent) {
|
|
if (self.mode == HomeModeRecent) {
|
|
|
if (self.shipArray.count == 0 || self.recentRefresh) {
|
|
if (self.shipArray.count == 0 || self.recentRefresh) {
|
|
@@ -117,7 +121,6 @@ typedef enum {
|
|
|
self.parentViewController.title = str;
|
|
self.parentViewController.title = str;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- (void)viewWillDisappear:(BOOL)animated {
|
|
- (void)viewWillDisappear:(BOOL)animated {
|
|
@@ -270,10 +273,12 @@ typedef enum {
|
|
|
|
|
|
|
|
- (void)showProgressDialog {
|
|
- (void)showProgressDialog {
|
|
|
[self presentViewController:self.progressDialog animated:true completion:nil];
|
|
[self presentViewController:self.progressDialog animated:true completion:nil];
|
|
|
|
|
+ NSLog(@"-dialog show %@",self.progressDialog);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- (void)dismissProgressDialog {
|
|
- (void)dismissProgressDialog {
|
|
|
[self.progressDialog dismissViewControllerAnimated:YES completion:nil];
|
|
[self.progressDialog dismissViewControllerAnimated:YES completion:nil];
|
|
|
|
|
+ NSLog(@"-dialog dismiss %@",self.progressDialog);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
#pragma mark - Load Data
|
|
#pragma mark - Load Data
|