Currently my scenario like this ,
View Controller(VC1) --> Push Segue --> View Controller(VC2)
| ^
| Model Segue |
| | Push Segue
|-----> View Controller(VC3) ------|
Now in VC3
when i push in to VC2
i want to dismiss VC3
view Controller and
on after VC2
back button it should be VC1's
back view controller i want to pop VC3
What i want is i want to remove VC3 when i push the VC2 from VC3 when we back then it VC1 should appear
I have done like this can anyone help me out
View Controller (VC3) :
- (void)callWebservice {
[self dismissViewControllerAnimated:YES completion:^{
[self performSegueWithIdentifier:@"showVC2" sender:self];
}];
}
Thanks in advance