首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

UINavigationController怎么连续返回两级/回到第一级

2014-01-22 
UINavigationController如何连续返回两级/回到第一级//连续返回两级int index[[self.navigationControlle

UINavigationController如何连续返回两级/回到第一级
//连续返回两级
int index=[[self.navigationController viewControllers]indexOfObject:self];
[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:index-2]animated:YES];

热点排行