Commit ad0dff0499f0bb41b10d911a2040d0ace427e284
1 parent
46e49e76
no message
Showing
1 changed file
with
6 additions
and
2 deletions
CNLiveBLoginModule/Classes/Controller/CNLiveLoginController.m
| @@ -42,8 +42,6 @@ | @@ -42,8 +42,6 @@ | ||
| 42 | - (void)viewWillAppear:(BOOL)animated{ | 42 | - (void)viewWillAppear:(BOOL)animated{ |
| 43 | [super viewWillAppear:animated]; | 43 | [super viewWillAppear:animated]; |
| 44 | self.navigationController.navigationBarHidden = YES; | 44 | self.navigationController.navigationBarHidden = YES; |
| 45 | - [QMUITips hideAllToastInView:[UIApplication sharedApplication].keyWindow animated:YES]; | ||
| 46 | - [QMUITips hideAllToastInView:self.view animated:YES]; | ||
| 47 | 45 | ||
| 48 | } | 46 | } |
| 49 | 47 | ||
| @@ -55,6 +53,12 @@ | @@ -55,6 +53,12 @@ | ||
| 55 | [self createUI]; | 53 | [self createUI]; |
| 56 | } | 54 | } |
| 57 | 55 | ||
| 56 | +- (void)viewDidDisappear:(BOOL)animated { | ||
| 57 | + [super viewDidDisappear:animated]; | ||
| 58 | + [QMUITips hideAllToastInView:[UIApplication sharedApplication].keyWindow animated:YES]; | ||
| 59 | + [QMUITips hideAllToastInView:self.view animated:YES]; | ||
| 60 | +} | ||
| 61 | + | ||
| 58 | - (void)createUI{ | 62 | - (void)createUI{ |
| 59 | 63 | ||
| 60 | [self.view addSubview:self.close]; | 64 | [self.view addSubview:self.close]; |