We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0e6b66 commit 9fbf8aeCopy full SHA for 9fbf8ae
Coding_iOS/Controllers/Login/RegisterViewController.m
@@ -80,7 +80,7 @@ - (BOOL)navigationShouldPopOnBackButton{
80
if (_medthodType == RegisterMethodPhone && _stepIndex >= 2 && _myRegister.password.length > 0) {//顺序来到的第二步,不允许直接返回
81
[[UIActionSheet bk_actionSheetCustomWithTitle:@"完成激活后才能正常使用 Coding,是否返回?" buttonTitles:nil destructiveTitle:@"确认返回" cancelTitle:@"取消" andDidDismissBlock:^(UIActionSheet *sheet, NSInteger index) {
82
if (index == 0) {
83
- [self.navigationController popViewControllerAnimated:YES];
+ [self.navigationController popToRootViewControllerAnimated:YES];
84
}
85
}] showInView:self.view];
86
return NO;
0 commit comments