Here is my code stub for my app-delegate.m -- it never gets called.
- (void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(
Did you make a connection between your UITabBarController and your application delegate?
UITabBarController
- (void)applicationDidFinishLaunching:(UIApplication *)application { ... tabBarController.delegate = self; ... }