|
|
|
|
125
|
UIView *transparentView = [self.navigationBar viewWithTag:TOP_BAR_TRANSPARENT_TAG];
|
125
|
UIView *transparentView = [self.navigationBar viewWithTag:TOP_BAR_TRANSPARENT_TAG];
|
126
|
if (transparentView){
|
126
|
if (transparentView){
|
127
|
[transparentView removeFromSuperview];
|
127
|
[transparentView removeFromSuperview];
|
128
|
- [self.navigationBar setBackgroundImage:self.originalTopBarImages[@"backgroundImage"] forBarMetrics:UIBarMetricsDefault];
|
|
|
129
|
- self.navigationBar.shadowImage = self.originalTopBarImages[@"shadowImage"];
|
|
|
|
|
128
|
+ [self.navigationBar setBackgroundImage:self.originalTopBarImages[@"backgroundImage"] ? self.originalTopBarImages[@"backgroundImage"] : [self.navigationBar backgroundImageForBarMetrics:UIBarMetricsDefault] forBarMetrics:UIBarMetricsDefault];
|
|
|
129
|
+ self.navigationBar.shadowImage = self.originalTopBarImages[@"shadowImage"] ? self.originalTopBarImages[@"shadowImage"] : self.navigationBar.shadowImage;
|
130
|
self.originalTopBarImages = nil;
|
130
|
self.originalTopBarImages = nil;
|
131
|
}
|
131
|
}
|
132
|
}
|
132
|
}
|