Browse Source

Fix search bar graphics for ios < 11

Marino Faggiana 7 years ago
parent
commit
59845c7472
1 changed files with 4 additions and 0 deletions
  1. 4 0
      iOSClient/AppDelegate.m

+ 4 - 0
iOSClient/AppDelegate.m

@@ -197,6 +197,10 @@
     // Settings TabBar
     // Settings TabBar
     [self createTabBarController];
     [self createTabBarController];
     
     
+    // How to hide UINavigationBar 1px bottom line < iOS 11
+    [[UINavigationBar appearance] setBackgroundImage:[[UIImage alloc] init] forBarPosition:UIBarPositionAny barMetrics:UIBarMetricsDefault];
+    [[UINavigationBar appearance] setShadowImage:[[UIImage alloc] init]];
+    
     // passcode
     // passcode
     [[BKPasscodeLockScreenManager sharedManager] setDelegate:self];
     [[BKPasscodeLockScreenManager sharedManager] setDelegate:self];