Hey, just wondering how/if possible to get a UITableView to animate from top to bottom. The standard way of doing a transition animated the page bottom to top, bu I have an undo button on the page that I navigate to that I want to allow the user to click if they decide to go back... This is my code for the current animation that goes bottom to top.. if you could help me to change it that would be awesome.
- (void)viewDidLoad {
//Title
self.title = @"Advanced Search";
[super viewDidLoad];
//undo button takes you back to main search options
UIBarButtonItem *undoButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemUndo target:self action:@selector(undoButton:)];
self.navigationItem.leftBarButtonItem = undoButton;
}
- (void)undoButton:sender {
RootViewController *rootViewController = [[RootViewController alloc] init];
UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:rootViewController];
[[self navigationController] presentModalViewController:navigationController animated:YES];
[navigationController release];
}