Browse Source

Fixes topBar.noBorder on iOS 10

yogevbd 6 years ago
parent
commit
713649f44d
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      lib/ios/UINavigationController+RNNOptions.m

+ 1
- 0
lib/ios/UINavigationController+RNNOptions.m View File

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;