How can I return to the previous view but when I return. example with arrows and dots:
I'm here
and I come back with[_controladorSuite.controladorDeNavegacion popToRootViewControllerAnimated:NO];
How do I get back from where I came back XD
----> or
or <- or
or -> or
hahahaha something like that is what I want to do
Should you use letters or numbers...
---> to
A <- B
A -> B
In any case, once you pop B, you can't go back to the same B. You'll need to create a new instance of B and push it.
Also, if you want (in a <- B) to go back to the immediately previous handler, you should
popViewController
instead usepopToRootViewController
.In this case, it coincides that your rootViewController is also the one immediately before B, but this could happen to you:
A - B - C
popToRootViewController
: A <- C (only A would remain)popViewController
: A - B <- C (B would remain and behind it would still be A)