|
@@ -12,6 +12,8 @@
|
|
|
|
|
|
#import "CNavigationController.h"
|
|
|
|
|
|
+#import "CPDFColorUtils.h"
|
|
|
+
|
|
|
@interface CNavigationController ()
|
|
|
|
|
|
@end
|
|
@@ -20,7 +22,15 @@
|
|
|
|
|
|
- (void)viewDidLoad {
|
|
|
[super viewDidLoad];
|
|
|
- // Do any additional setup after loading the view.
|
|
|
+
|
|
|
+ if (@available(iOS 15.0, *)) {
|
|
|
+ UINavigationBarAppearance *navgationBarApp = [[UINavigationBarAppearance alloc] init];
|
|
|
+ navgationBarApp.backgroundColor = [CPDFColorUtils CNavBackgroundColor];
|
|
|
+ [UINavigationBar appearance].scrollEdgeAppearance = navgationBarApp;
|
|
|
+ [UINavigationBar appearance].standardAppearance = navgationBarApp;
|
|
|
+
|
|
|
+ [UITableView appearance].sectionHeaderTopPadding = 0;
|
|
|
+ } // Do any additional setup after loading the view.
|
|
|
}
|
|
|
|
|
|
/*
|