|
@@ -34,12 +34,16 @@
|
34
|
34
|
- (void)updateBackgroundAppearance {
|
35
|
35
|
if (self.transparent) {
|
36
|
36
|
[self.getAppearance configureWithTransparentBackground];
|
|
37
|
+ [self.getScrollEdgeAppearance configureWithTransparentBackground];
|
37
|
38
|
} else if (self.backgroundColor) {
|
38
|
39
|
[self.getAppearance setBackgroundColor:self.backgroundColor];
|
|
40
|
+ [self.getScrollEdgeAppearance setBackgroundColor:self.backgroundColor];
|
39
|
41
|
} else if (self.translucent) {
|
40
|
42
|
[self.getAppearance configureWithDefaultBackground];
|
|
43
|
+ [self.getScrollEdgeAppearance configureWithDefaultBackground];
|
41
|
44
|
} else {
|
42
|
45
|
[self.getAppearance configureWithOpaqueBackground];
|
|
46
|
+ [self.getScrollEdgeAppearance configureWithOpaqueBackground];
|
43
|
47
|
}
|
44
|
48
|
}
|
45
|
49
|
|
|
@@ -74,4 +78,8 @@
|
74
|
78
|
return self.currentNavigationItem.standardAppearance;
|
75
|
79
|
}
|
76
|
80
|
|
|
81
|
+- (UINavigationBarAppearance *)getScrollEdgeAppearance {
|
|
82
|
+ return self.currentNavigationItem.scrollEdgeAppearance;
|
|
83
|
+}
|
|
84
|
+
|
77
|
85
|
@end
|