From 3e85859a1216c0a5ed0a5263a4a329dba6c20825 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Tue, 28 Jun 2022 21:11:28 +0200 Subject: [PATCH] Add translucency to tab bar on iOS --- iOS/AppDelegate.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/iOS/AppDelegate.swift b/iOS/AppDelegate.swift index af15abe9..b76d1a82 100644 --- a/iOS/AppDelegate.swift +++ b/iOS/AppDelegate.swift @@ -14,6 +14,11 @@ final class AppDelegate: UIResponder, UIApplicationDelegate { Self.instance = self #if os(iOS) UIViewController.swizzleHomeIndicatorProperty() + + UITabBar.appearance().shadowImage = UIImage() + UITabBar.appearance().backgroundImage = UIImage() + UITabBar.appearance().isTranslucent = true + UITabBar.appearance().backgroundColor = .clear #endif return true }