I am currently writing an app that uses embedded navigationControllers. I need to pop to the initial view of the first view controller from within the embedded one.
This line of code just returns me to the initial view of the embedded navigationController:
[self.navigationController popToRootViewControllerAnimated:YES];
Any ideas?