int index =(int)[[self.navigationController viewControllers]indexOfObject:self];
(index 本页面的标记,向前跳转的个数进行减少)
[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:index-2] animated:YES];
int index =(int)[[self.navigationController viewControllers]indexOfObject:self];
(index 本页面的标记,向前跳转的个数进行减少)
[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:index-2] animated:YES];
本文标题:ios 返回上上级页面等指定页面2019-05-09
本文链接:https://www.haomeiwen.com/subject/ketwoqtx.html
网友评论