ios 跳转到指定Controller
2016-12-05 本文已影响73人
小明大白
for(UIViewController*vc inself.navigationController.viewControllers)
{
if([vcisKindOfClass:[SearchUserViewControllerclass]])
{
[self.navigationControllerpopToViewController:vcanimated:YES];
}
}
for(UIViewController*vc inself.navigationController.viewControllers)
{
if([vcisKindOfClass:[SearchUserViewControllerclass]])
{
[self.navigationControllerpopToViewController:vcanimated:YES];
}
}