浏览代码

Revert "exposed bridge in ReactNativeNavigation"

This reverts commit ee48da2e7c.
yogevbd 7 年前
父节点
当前提交
ee6213f42a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      lib/ios/RNNControllerFactory.m

+ 1
- 1
lib/ios/RNNControllerFactory.m 查看文件

97
 	RNNRootViewController* component = [[RNNRootViewController alloc] initWithName:name withOptions:options withComponentId:componentId rootViewCreator:_creator eventEmitter:_eventEmitter isExternalComponent:NO];
97
 	RNNRootViewController* component = [[RNNRootViewController alloc] initWithName:name withOptions:options withComponentId:componentId rootViewCreator:_creator eventEmitter:_eventEmitter isExternalComponent:NO];
98
 	if (!component.isCustomViewController) {
98
 	if (!component.isCustomViewController) {
99
 		CGSize availableSize = UIApplication.sharedApplication.delegate.window.bounds.size;
99
 		CGSize availableSize = UIApplication.sharedApplication.delegate.window.bounds.size;
100
-		[_bridge.uiManager setAvailableSize:availableSize forRootView:component.reactView];
100
+		[_bridge.uiManager setAvailableSize:availableSize forRootView:component.view];
101
 	}
101
 	}
102
 	return component;
102
 	return component;
103
 }
103
 }