views:

29

answers:

1

is it possible to have a back button in a modal viewController?

+2  A: 

Yes, you have to make it yourself. If your modal controller has a navigation bar, put a button and give it an action like this:

- (IBAction)myBackButtonPressed {
    [self.parentViewController dismissModalViewControllerAnimated:YES];
}
jtbandes