Sfoglia il codice sorgente

Fix search bar graphics for ios < 11

Marino Faggiana 7 anni fa
parent
commit
59845c7472
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      iOSClient/AppDelegate.m

+ 4 - 0
iOSClient/AppDelegate.m

@@ -197,6 +197,10 @@
     // Settings TabBar
     [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
     [[BKPasscodeLockScreenManager sharedManager] setDelegate:self];