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];
}
}