Add the view controller in the TabBarController from within one of its viewControllers ?
- by user550001
Hi,
I am new to iPhone/iPad Developer. I am developing a application using UITabBarController. I have created a tabbarcontroller class in which i have implemented a UITabBarController object through NIB file. there is 4 tab as LoginPage, Category Page, About Us Page, Setting Page. I want to add logout tab in tabbarcontroller after login in Login Page by programmatically and when user will click to logout tab then it back to home/login screen and logout tab will eliminate.
So i need a code snippet to add TabBar Item in UITabBarController within its View Controller.
Thank you in advance