Эх сурвалжийг харах

Fix search bar graphics for ios < 11

Marino Faggiana 7 жил өмнө
parent
commit
59845c7472

+ 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];