tabBarController:shouldSelectViewController: not being invoked
Hi, all...
In my iPhone 3.0 app, tabBarController:shouldSelectViewController: is not being invoked when I switch tabs. I implemented it in my app delegate (which is where I think it's supposed to be). That is where I have an outlet to the tab bar controller that is in the main NIB for my app. My tab bar has all the expected icons and switches just fine.
@Steve : Did you ever get the answer to this one? I'm running into the same issue. My applicationDidFinishLaunching is running (obviously), but shouldSelectViewController is not getting triggered at all. Thanks for any help/pointers.
tabBarController:shouldSelectViewController: not being invoked
Glad you got it working.
What was missing for me was also the specification for who was the delegate for the UITabBarController. I made the connection in Interface Builder. I had the TabBarController and my app delegate as items in the main window of IB, and the TabBarController had a delegate outlet which I connected to my app delegate.