iOS开发常用记录
2018-07-23 本文已影响9人
老刘了
UITableVIew
导航栏pop到上几层
NSInteger index = (NSInteger)[[self.navigationController viewControllers] indexOfObject:self];
[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:(index - 3)] animated:YES];