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];
上一篇 下一篇

猜你喜欢

热点阅读