pop 两级/三级 - iOS
2017-08-03 本文已影响21人
HAKA
NSInteger index=[[self.navigationController viewControllers]indexOfObject:self]; //当前所在级数
[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:index]animated:NO];//直接更改index 表示pop几级