Просмотр исходного кода

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

huangxiaodong 1 год назад
Родитель
Сommit
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];
         }