Hi Folks,
In my Application I am moving between two Views using the following code (inside my "didselectedRow"):
Code:
ShowViewController *controller = [[ShowViewController alloc] initWithNibName:@"ShowViewController" bundle:[NSBundle mainBundle]];
userName = [NSString stringWithFormat:@"%@ %@", takeLastName, takeFirstName];
controller.userName = userName;
controller.takeId = takeId;
controller.delegate = self;
//controller.modalTransitionStyle = UIModalTransitionStyleCoverVertical;
[self.navigationController pushViewController:controller animated:YES];
// [self presentModalViewController:controller animated:YES];
[controller release];
controller = nil;
This is working fine - the view will be switched and on the new View there is a "Back Button" which I have named using the following code:
Code:
UIBarButtonItem *backButton = [[UIBarButtonItem alloc] initWithTitle:@"Back" style:UIBarButtonItemStylePlain target:nil action:nil];
self.navigationItem.backBarButtonItem = backButton;
[backButton release];
What can I do if I want not only a "Back - Button" but also a "Next Button"? How can I achieve this if I want to switch to a "ShowMoreController"?
Thanks for your feedback,
Stefan