Forum Xamarin.iOS
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

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.