|
@@ -28,17 +28,17 @@
|
28
|
28
|
[ReactNativeNavigation bootstrap:jsCodeLocation launchOptions:launchOptions];
|
29
|
29
|
|
30
|
30
|
/*
|
31
|
|
- // original RN bootstrap - remove this part
|
32
|
|
- RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
|
33
|
|
- moduleName:@"com.example.WelcomeScreen"
|
34
|
|
- initialProperties:nil
|
35
|
|
- launchOptions:launchOptions];
|
36
|
|
- self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
|
37
|
|
- UIViewController *rootViewController = [UIViewController new];
|
38
|
|
- rootViewController.view = rootView;
|
39
|
|
- self.window.rootViewController = rootViewController;
|
40
|
|
- [self.window makeKeyAndVisible];
|
41
|
|
- */
|
|
31
|
+ // original RN bootstrap - remove this part
|
|
32
|
+ RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
|
|
33
|
+ moduleName:@"com.example.WelcomeScreen"
|
|
34
|
+ initialProperties:nil
|
|
35
|
+ launchOptions:launchOptions];
|
|
36
|
+ self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
|
|
37
|
+ UIViewController *rootViewController = [UIViewController new];
|
|
38
|
+ rootViewController.view = rootView;
|
|
39
|
+ self.window.rootViewController = rootViewController;
|
|
40
|
+ [self.window makeKeyAndVisible];
|
|
41
|
+ */
|
42
|
42
|
|
43
|
43
|
|
44
|
44
|
return YES;
|