|
@@ -18,9 +18,6 @@ RCT_EXPORT_METHOD(setRoot:(NSDictionary*)layout)
|
18
|
18
|
[self assertReady];
|
19
|
19
|
RNNControllerFactory *factory = [[RNNControllerFactory alloc] initWithRootViewCreator:[RNNReactRootViewCreator new]];
|
20
|
20
|
UIViewController *vc = [factory createLayout:layout];
|
21
|
|
-// if([vc isKindOfClass:[RNNSideMenuController class]]) {
|
22
|
|
-// vc = ((RNNSideMenuController*)vc).sideMenu;
|
23
|
|
-// }
|
24
|
21
|
UIApplication.sharedApplication.delegate.window.rootViewController = vc;
|
25
|
22
|
[UIApplication.sharedApplication.delegate.window makeKeyAndVisible];
|
26
|
23
|
}
|