I have a tab bar controller, and clicking a button on one tab's view switches to another tab's view. I can't figure out a way to animate the transition though. Here's the code I'm using to make the transition:
- (void)tableView

UITableView *)tableView didSelectRowAtIndexPath

NSIndexPath *)indexPath {
stocksAppDelegate *delegate = [[UIApplication sharedApplication] delegate];
//[delegate.rootController selectedIndex:1];
UITabBarController *r=delegate.rootController;
r.selectedIndex=1;
I tried to change the last line to [r selectedIndex:1 animates:YES]; but it doesn't work?
Thanks for any help =)