uinavigationcontroller

[[self navigationController] popToViewController:obj animated:YES];

[self.navigationController popToRootViewControllerAnimated:YES];

Tags: