I'm trying to go back to the head of the navigation from a non-navigation view.
I tried passing the parent view controller from Nav2 to PayPalVC to MyViewController and using this following statement in MyViewController:
Note: The syntax is in C#
parent.NavigationController.PopToViewController(parent.NavigationController.ViewControllers[0], true);
This how it is set up:
RootViewController -> Head of Navigation -> Navigation 1 -> Navigation 2 -> PayPalViewController -> MyViewController -> Back to Head of Navigation