My UITabBarController's didSelectViewController method is not getting called?
        Posted  
        
            by mobibob
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by mobibob
        
        
        
        Published on 2010-03-27T17:43:48Z
        Indexed on 
            2010/03/27
            17:53 UTC
        
        
        Read the original article
        Hit count: 934
        
Here is my code stub for my app-delegate.m -- it never gets called.
- (void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController {
    NSLog(@"%s", __FUNCTION__);
}
It is defined in this app-delegate.h
@interface OrioleAppDelegate : NSObject <UIApplicationDelegate, UITabBarControllerDelegate> {
    UIWindow *window;
    UITabBarController *tabBarController;
}
@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) IBOutlet UITabBarController *tabBarController;
@end
© Stack Overflow or respective owner