Add translucency to tab bar on iOS

This commit is contained in:
Arkadiusz Fal 2022-06-28 21:11:28 +02:00
parent 7224b5e75f
commit c66e9a6f35

View File

@ -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
}