From the rootViewController
I navigate to a UIViewController
if (self.contr == nil) {
ExampleViewController *controller = [[Exampl
Presenting a modal view controller do not require you to pass through a UINavigationController
. I suggest you to change this:
[self.navigationController presentModalViewController:self.contr animated:YES];
[self.navigationController dismissModalViewControllerAnimated:YES];
to this:
[self presentModalViewController:self.contr animated:YES];
[self dismissModalViewControllerAnimated:YES];
Let me know if this helps.