I am building an iOS application.
What I am doing is explained below -
- There are 3 ViewControllers named as A, B, C.
- I go to A to B and then to C on button click function.
- I have to Implement Navigation controller on all three ViewController (A, B, C).
- Now, when I press back of navigation controller the stack that is followed is C -> B -> A. This is the default behavior.
What I need is the stack operation should be perform like - C -> A.
For this I have to Pop B from the stack. How can I Pop the B from stack.