iphone - how to use buttons from HomeView to select tabs from uitabcontroller -


my apps main view having 5 buttons , i'm having tabbarcontroller 5 tabs.so need select each tabs each button action. in advance

use

self.tabbarcontroller.selectedindex = i;  

insted of write number of tab witch wish !!!


Comments