Przeglądaj źródła

Fixes topBar.noBorder on iOS 10

yogevbd 7 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
 	if (noBorder) {
38
 	if (noBorder) {
39
 		self.navigationBar
39
 		self.navigationBar
40
 		.shadowImage = [[UIImage alloc] init];
40
 		.shadowImage = [[UIImage alloc] init];
41
+		[self.navigationBar setBackgroundImage:[UIImage new] forBarMetrics:UIBarMetricsDefault];
41
 	} else {
42
 	} else {
42
 		self.navigationBar
43
 		self.navigationBar
43
 		.shadowImage = nil;
44
 		.shadowImage = nil;