Skip to content

Commit 9fbf8ae

Browse files
committed
手机注册 - 最后一步如果执意退出的话,直接退出到首页
1 parent d0e6b66 commit 9fbf8ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Coding_iOS/Controllers/Login/RegisterViewController.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ - (BOOL)navigationShouldPopOnBackButton{
8080
if (_medthodType == RegisterMethodPhone && _stepIndex >= 2 && _myRegister.password.length > 0) {//顺序来到的第二步,不允许直接返回
8181
[[UIActionSheet bk_actionSheetCustomWithTitle:@"完成激活后才能正常使用 Coding,是否返回?" buttonTitles:nil destructiveTitle:@"确认返回" cancelTitle:@"取消" andDidDismissBlock:^(UIActionSheet *sheet, NSInteger index) {
8282
if (index == 0) {
83-
[self.navigationController popViewControllerAnimated:YES];
83+
[self.navigationController popToRootViewControllerAnimated:YES];
8484
}
8585
}] showInView:self.view];
8686
return NO;

0 commit comments

Comments
 (0)