完善用户信息的页面的 补全
This commit is contained in:
@@ -127,10 +127,18 @@
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)disMissVC {
|
||||
UIViewController *vc = self.presentingViewController;
|
||||
while (vc.presentingViewController) {
|
||||
vc = vc.presentingViewController;
|
||||
}
|
||||
[vc dismissViewControllerAnimated:YES completion:nil];
|
||||
[self.navigationController popToRootViewControllerAnimated:NO];
|
||||
}
|
||||
#pragma mark - LoginPasswordProtocol
|
||||
- (void)phoneAndPasswordLoginSuccess {
|
||||
[self showSuccessToast:@"登录成功"];
|
||||
[self.navigationController popToRootViewControllerAnimated:YES];
|
||||
[self disMissVC];
|
||||
}
|
||||
|
||||
#pragma mark - Getters And Setters
|
||||
|
Reference in New Issue
Block a user