|
@@ -72,6 +72,7 @@
|
72
|
72
|
if (self.transparent) {
|
73
|
73
|
[self setBackgroundColorTransparent];
|
74
|
74
|
} else if (_backgroundColor) {
|
|
75
|
+ self.navigationController.navigationBar.translucent = NO;
|
75
|
76
|
self.navigationController.navigationBar.barTintColor = _backgroundColor;
|
76
|
77
|
} else if (_translucent) {
|
77
|
78
|
self.navigationController.navigationBar.translucent = YES;
|
|
@@ -83,6 +84,7 @@
|
83
|
84
|
|
84
|
85
|
- (void)setBackgroundColorTransparent {
|
85
|
86
|
self.navigationController.navigationBar.barTintColor = UIColor.clearColor;
|
|
87
|
+ self.navigationController.navigationBar.translucent = YES;
|
86
|
88
|
self.navigationController.navigationBar.shadowImage = [UIImage new];
|
87
|
89
|
[self.navigationController.navigationBar setBackgroundImage:[UIImage new] forBarMetrics:UIBarMetricsDefault];
|
88
|
90
|
}
|