How can i detect when user select an item of tab bar?
I want to run some commands on each time, when user select the second or the thirt tab bar view.
(I have a tab bar based project, and the viewcontrollers for tabBar items are selected in interface builder)
I solved this problem with using”viewWillApear:(BOOL)animated” method in each view-s of tabBar.