i have a custom tab bar in my application. how do i animate when navigation through different tabs? here is my code
UIImage *image = [UIImage imageNamed:@"bgtab.png"];
[self.tabBarController.tabBar setBackgroundImage:image];
self.tabBarController.tabBar.tintColor =[UIColor brownColor];
self.tabBarController.tabBar.selectionIndicatorImage = [UIImage imageNamed:@"selected.png"];
apple docs say that we should pot the following code but it does not work
- (void)setItems:(NSArray *)items animated:(BOOL)animated