|
@@ -86,12 +86,12 @@
|
|
UIViewController *presentCtrl = ctrl.presentedViewController;
|
|
UIViewController *presentCtrl = ctrl.presentedViewController;
|
|
[presentCtrl dismissViewControllerAnimated:YES completion:^{
|
|
[presentCtrl dismissViewControllerAnimated:YES completion:^{
|
|
[ctrl popToRootViewControllerAnimated:YES];
|
|
[ctrl popToRootViewControllerAnimated:YES];
|
|
- [self performSelector:@selector(resetToLoginViewController:) withObject:tab afterDelay:0.1];
|
|
|
|
|
|
+ [self resetToLoginViewController:tab];
|
|
}];
|
|
}];
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
[ctrl popToRootViewControllerAnimated:YES];
|
|
[ctrl popToRootViewControllerAnimated:YES];
|
|
- [self performSelector:@selector(resetToLoginViewController:) withObject:tab afterDelay:0.1];
|
|
|
|
|
|
+ [self resetToLoginViewController:tab];
|
|
}
|
|
}
|
|
}
|
|
}
|
|
else if ([vc isKindOfClass:NSClassFromString(@"CustomNavViewController")]) {
|
|
else if ([vc isKindOfClass:NSClassFromString(@"CustomNavViewController")]) {
|