iphone Programming Glossary: self.tabbarcontroller.selectedindex
how to create a tabbar programmatically and adding buttons on it http://stackoverflow.com/questions/3220978/how-to-create-a-tabbar-programmatically-and-adding-buttons-on-it self release the array because the tab bar controller now has it localControllersArray release self.tabBarController.selectedIndex 0 add the tabBarController as a subview in the window window addSubview tabBarController.view need this last line to display..
Switching to a TabBar tab view programmatically? http://stackoverflow.com/questions/5413538/switching-to-a-tabbar-tab-view-programmatically
how to use buttons from HomeView to select tabs from uitabcontroller http://stackoverflow.com/questions/5830787/how-to-use-buttons-from-homeview-to-select-tabs-from-uitabcontroller
How can i make same button in multiple view controller? [duplicate] http://stackoverflow.com/questions/8787366/how-can-i-make-same-button-in-multiple-view-controller setBackgroundImage UIImage imageNamed @ btn_topmenu_hover.png forState UIControlStateNormal sets the background Image self.tabBarController.selectedIndex 1 else if button.tag 2 NSLog @ hey have clicked first button this is my tag i n n button.tag button setBackgroundImage UIImage.. @ CustomerViewController bundle nil self.navigationController pushViewController secondViewController animated YES self.tabBarController.selectedIndex 2 else if button.tag 3 NSLog @ hey have clicked second button this is my tag i n n button.tag button setBackgroundImage.. sets the background Image self.navigationController pushViewController cstViewController animated YES self.tabBarController.selectedIndex 3 EDIT3 Any way i have to solve the problem so i have tried a lot of way but i missed a simple matter. when i want to change..
|