iphone Programming Glossary: appdelegte
remove uitabbar controller [closed] http://stackoverflow.com/questions/12460013/remove-uitabbar-controller to window just make it. And add your LoginView as rootViewController. after login add tabBar as subView TUTAppDelegate appdelegte TUTAppDelegate UIApplication sharedApplication delegate appdelegte window addSubview appdelegte yourTabBar view and at logout.. after login add tabBar as subView TUTAppDelegate appdelegte TUTAppDelegate UIApplication sharedApplication delegate appdelegte window addSubview appdelegte yourTabBar view and at logout button TUTAppDelegate appDelegate TUTAppDelegate UIApplication.. subView TUTAppDelegate appdelegte TUTAppDelegate UIApplication sharedApplication delegate appdelegte window addSubview appdelegte yourTabBar view and at logout button TUTAppDelegate appDelegate TUTAppDelegate UIApplication sharedApplication delegate..
Tabbar in Second View http://stackoverflow.com/questions/13856933/tabbar-in-second-view you can add yourTabBar and remove InitialViewController IBAction switchToTabBarBtnPress id sender AppDelegate appdelegte AppDelegate UIApplication sharedApplication delegate appdelegte navigationController view removeFromSuperview appdelegte.. IBAction switchToTabBarBtnPress id sender AppDelegate appdelegte AppDelegate UIApplication sharedApplication delegate appdelegte navigationController view removeFromSuperview appdelegte window addSubview appdelegte tabBarController view appdelegte tabBarController.. AppDelegate UIApplication sharedApplication delegate appdelegte navigationController view removeFromSuperview appdelegte window addSubview appdelegte tabBarController view appdelegte tabBarController setSelectedIndex 0 And Follow my answer Answer..
|