mirror of
https://github.com/yattee/yattee.git
synced 2024-12-14 22:30:32 +05:30
Add translucency to tab bar on iOS
This commit is contained in:
parent
6c0d6434e0
commit
3e85859a12
@ -14,6 +14,11 @@ final class AppDelegate: UIResponder, UIApplicationDelegate {
|
|||||||
Self.instance = self
|
Self.instance = self
|
||||||
#if os(iOS)
|
#if os(iOS)
|
||||||
UIViewController.swizzleHomeIndicatorProperty()
|
UIViewController.swizzleHomeIndicatorProperty()
|
||||||
|
|
||||||
|
UITabBar.appearance().shadowImage = UIImage()
|
||||||
|
UITabBar.appearance().backgroundImage = UIImage()
|
||||||
|
UITabBar.appearance().isTranslucent = true
|
||||||
|
UITabBar.appearance().backgroundColor = .clear
|
||||||
#endif
|
#endif
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user