注册 登录
编程论坛 IPhone(iOS)开发

popToViewController 用法(转载)

satisfied 发布于 2014-08-06 15:49, 4671 次点击
popToViewController的用法  希望能帮到有需要的人

[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:2]
animated:YES];


for (UIViewController *temp in self.navigationController.viewControllers) {
           if ([temp isKindOfClass:[你要跳转到的Controller class]]) {
              [self.navigationController popToViewController:temp animated:YES];
           }
       }

http://www. 可以逛逛

转载的   感觉不错分享给大家
0 回复
1