Przeglądaj źródła

Fixes topBar.noBorder on iOS 10

yogevbd 6 lat temu
rodzic
commit
713649f44d
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1
    0
      lib/ios/UINavigationController+RNNOptions.m

+ 1
- 0
lib/ios/UINavigationController+RNNOptions.m Wyświetl plik

@@ -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;