桂欢 1 год назад
Родитель
Сommit
902b423596
1 измененных файлов с 2 добавлено и 3 удалено
  1. 2 3
      SLAiELTS/SLAiELTS/AppDelegate.mm

+ 2 - 3
SLAiELTS/SLAiELTS/AppDelegate.mm

@@ -22,7 +22,8 @@
     // Override point for customization after application launch.
     self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
     self.window.backgroundColor = [UIColor whiteColor];
-    self.window.rootViewController = [[UIViewController alloc] init];
+    UIViewController *launchScreenVc = [[UIStoryboard storyboardWithName:@"LaunchScreen" bundle:nil] instantiateInitialViewController];
+    self.window.rootViewController = launchScreenVc;
     [SLHttpCenter SharedInstance].serverUrl = @"http://dlchat.zheke.com";
 //    [SLHttpCenter SharedInstance].serverUrl = @"http://10.0.0.14:8088";
     NSString *userPhone = [[NSUserDefaults standardUserDefaults] objectForKey:@"SLUserPhone"];
@@ -67,8 +68,6 @@
     [self.window makeKeyAndVisible];
 }
 
-
-
 #pragma MARK- IQ键盘初始化
 -(void)buildIQkeyBoard
 {