mirror of
				https://github.com/yattee/yattee.git
				synced 2025-11-04 14:42:05 +00:00 
			
		
		
		
	Add translucency to tab bar on iOS
This commit is contained in:
		@@ -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
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user