These basic content basically already can build the project frame, the rest is some optimization, detail and data request question, slowly update ....
To create a method in Appdelegate
Create method Execution Uitabbarcontroller
Func Createtabbar ()
{
Let Tabbarcontro = Uitabbarcontroller ();
Let VIEWC = Viewcontroller ();
ViewC.tabBarItem.image = UIImage (named: "Item1.png");
Let onenavigation = Uinavigationcontroller.init (ROOTVIEWCONTROLLER:VIEWC);
Let FIRSTVC = Firstviewcontroller ();
FirstVC.tabBarItem.image = UIImage (named: "Item2.png");
Let twonavigation = Uinavigationcontroller.init (ROOTVIEWCONTROLLER:FIRSTVC);
Let SECONDVC = Secondviewcontroller ();
SecondVC.tabBarItem.image = UIImage (named: "Item3.png");
Let threenavigation = Uinavigationcontroller.init (ROOTVIEWCONTROLLER:SECONDVC);
Let Navarray = [onenavigation,twonavigation,threenavigation];
Tabbarcontro.viewcontrollers = Navarray;
Window?. Rootviewcontroller = Tabbarcontro;
}
Click on the first module to enter the second layer to hide Tabbar
Enter the second layer of the interface to hide Uitabbarcontroller
Override func Viewwillappear (Animated:bool) {
Navigationcontroller?. Tabbarcontroller?. Tabbar.hidden = true;
}
Override func Viewwilldisappear (Animated:bool) {
Navigationcontroller?. Tabbarcontroller?. Tabbar.hidden = false;
}
Swift Foundation Uitabbarcontroller (this was added directly in the previous uitableview)