Navigation stack pop to specific controller.

ASyedASyed USMember ✭✭

Hi

In my iOS app I want to control the navigation stack. Can I pop to a specific view controllers in the stack?

Best Answer

Answers

  • GavinGrantGavinGrant GBUniversity ✭✭✭

    NavigationController.PopToViewController

  • ASyedASyed USMember ✭✭

    NavigationController.PopToViewController only takes one parameter which for animation.

    If say the navigation stack has five view a,b,c,d,e. I want to pop from e to c or e to b directly.

Sign In or Register to comment.