Selaa lähdekoodia

Fixes topBar.noBorder on iOS 10

yogevbd 6 vuotta sitten
vanhempi
commit
713649f44d
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1
    0
      lib/ios/UINavigationController+RNNOptions.m

+ 1
- 0
lib/ios/UINavigationController+RNNOptions.m Näytä tiedosto

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