iOS pop控制器
2016-09-13 本文已影响0人
chayc
//退出当前控制器
[self.navigationController popViewControllerAnimated:YES];
//返回到某个控制器
for (UIViewController *vcHome in self.navigationController.viewControllers) {
if ([vcHome isKindOfClass:[WorkFlowViewController class]]) {
[self.navigationController popToViewController:vcHome animated:YES];
}
}