소스 검색

1.修复安装后第一次启动引导页没走到最后一页完成退出后二次启动启动页走到最后一页卡主问题

huangxiaodong 1 년 전
부모
커밋
03913266c3
1개의 변경된 파일9개의 추가작업 그리고 5개의 파일을 삭제
  1. 9 5
      创维盒子/双子星云手机/Class/Guide/GuideViewController.m

+ 9 - 5
创维盒子/双子星云手机/Class/Guide/GuideViewController.m

@@ -101,14 +101,18 @@
             }
             
             /*设置密码*/
-            inputPWDViewController *nextVC = [[inputPWDViewController alloc] init];
-            nextVC.isQRCodeType = YES;
-            [self.navigationController pushViewController:nextVC animated:YES];
+//            inputPWDViewController *nextVC = [[inputPWDViewController alloc] init];
+//            nextVC.isQRCodeType = YES;
+//            [self.navigationController pushViewController:nextVC animated:YES];
+            
+            [[NSNotificationCenter defaultCenter] postNotificationName:GuideOkNotification object:nil];
         }
         else{
             /*设置密码*/
-            SetPWDFirstViewController *nextVC = [[SetPWDFirstViewController alloc] init];
-            [self.navigationController pushViewController:nextVC animated:YES];
+//            SetPWDFirstViewController *nextVC = [[SetPWDFirstViewController alloc] init];
+//            [self.navigationController pushViewController:nextVC animated:YES];
+            
+            [[NSNotificationCenter defaultCenter] postNotificationName:GuideOkNotification object:nil];
         }