if ([self.navigationController respondsToSelector:@selector(pushViewController:animated:)])
{
[self dismissViewControllerAnimated:YES completion:^{
}];
}
else
{
[self.navigationController popViewControllerAnimated:YES];
}
if ([self.navigationController respondsToSelector:@selector(pushViewController:animated:)])
{
[self dismissViewControllerAnimated:YES completion:^{
}];
}
else
{
[self.navigationController popViewControllerAnimated:YES];
}