I have app with 3 UIViewContoller
UIViewContollerA
UIViewContollerB
UIViewContollerC
UIViewContollerA
open UIViewContollerB
with presentModalViewController
UIViewContollerB
open UIViewContollerC
with presentModalViewController
And i want to have the possible that in one click on button in UIViewContollerC
to dismiss all The UIViewController.
I try to call dismissModalViewControllerAnimated
twice but it won't work, there is any other option to do it?
it's possible?