- (void)back:(UIButton *)btn
{
//返回上一界面
[self.navigationController popViewControllerAnimated:YES];
//返回到第一个界面
// [self.navigationController popToRootViewControllerAnimated:YES];
//返回到指定的界面 (必须是上面的界面)
// [self.navigationController popToViewController:self.navigationController.viewControllers[1] animated:YES];
}
原文地址:http://qccccc.blog.51cto.com/6004423/1548903