Skip to content

Latest commit

 

History

History
65 lines (48 loc) · 1.03 KB

README.md

File metadata and controls

65 lines (48 loc) · 1.03 KB

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