소스 검색

fix custom header component

yogevbd 6 년 전
부모
커밋
27a6bb653f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      lib/ios/RNNRootViewController.m

+ 1
- 1
lib/ios/RNNRootViewController.m 파일 보기

@@ -139,7 +139,7 @@
139 139
 	if (!_customTitleView) {
140 140
 		if (self.options.topBar.title.component.name) {
141 141
 			_customTitleView = (RNNReactRootView*)[_creator createRootViewFromComponentOptions:self.options.topBar.title.component];
142
-			_customTitleView.backgroundColor = UIColor.redColor;
142
+			_customTitleView.backgroundColor = UIColor.clearColor;
143 143
 			[_customTitleView setAlignment:self.options.topBar.title.component.alignment];
144 144
 			BOOL isCenter = [self.options.topBar.title.component.alignment isEqualToString:@"center"];
145 145
 			__weak RNNReactRootView *weakTitleView = _customTitleView;