Skip to content

lukasz-szyszkowski/HidableTabView-SwiftUI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hideable TabView


Hide TabView any where in the SwiftUI project.

Go to section:


Installation

Swift Package Manager

HideableTabView framework can be added to your project as a package thorught SPM.


Usage

   ThirdView()
       .hideTabBar() // animated parameter is set to true by default
    FourthView()
        .showTabBar() // animated parameter is set to true by default
    FirstView().onAppear {
        UITabBar.hideTabBar(animated: false)
    }
    SecondView().onAppear {
        UITabBar.showTabBar(animated: false)
    }
     Button {
         UITabBar.toogleTabBarVisibility()
   } label: {
       Text("Hide/Show Tab Bar")
  }

Demo

demo.mp4

About

Safe Area Fix

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%