//便歷導(dǎo)航欄內(nèi)的所有控制
for(UIViewController *controller in self.navigationController.viewControllers) {
//判斷是不是你想要pop的控制器
if([controller isKindOfClass:[OverWorkRecevice class]]){
//獲取到控制器
OverWorkRecevice *owr = (OverWorkRecevice *)controller;
//pop回控制器
[self.navigationController popToViewController:owr animated:YES];
}
}