Take a look at popViewControllerAnimated:
.
From the documentation: This method removes the top view controller from the stack and makes the new top of the stack the active view controller.
Usage is something like:
[aViewController popViewControllerAnimated:YES];