|
@@ -114,9 +114,8 @@
|
114
|
114
|
RNNRootViewController* component = [[RNNRootViewController alloc] initWithName:name withOptions:options withComponentId:componentId rootViewCreator:_creator eventEmitter:_eventEmitter isExternalComponent:YES];
|
115
|
115
|
|
116
|
116
|
[component addChildViewController:externalVC];
|
117
|
|
- component.view = [[UIView alloc] init];
|
118
|
|
- component.view.backgroundColor = [UIColor whiteColor];
|
119
|
117
|
[component.view addSubview:externalVC.view];
|
|
118
|
+ [externalVC didMoveToParentViewController:component];
|
120
|
119
|
|
121
|
120
|
return component;
|
122
|
121
|
}
|