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];
}
}
本文标题:ios 跳转到指定Controller
本文链接:https://www.haomeiwen.com/subject/tfekmttx.html
网友评论