ソースを参照

Fixes topBar.noBorder on iOS 10

yogevbd 6 年 前
コミット
713649f44d
共有1 個のファイルを変更した1 個の追加0 個の削除を含む
  1. 1
    0
      lib/ios/UINavigationController+RNNOptions.m

+ 1
- 0
lib/ios/UINavigationController+RNNOptions.m ファイルの表示

@@ -38,6 +38,7 @@ const NSInteger BLUR_TOPBAR_TAG = 78264802;
38 38
 	if (noBorder) {
39 39
 		self.navigationBar
40 40
 		.shadowImage = [[UIImage alloc] init];
41
+		[self.navigationBar setBackgroundImage:[UIImage new] forBarMetrics:UIBarMetricsDefault];
41 42
 	} else {
42 43
 		self.navigationBar
43 44
 		.shadowImage = nil;