Hi, I have an Navigation-based app where i navigate trough some viewcontroller's. At this moment I have 2 viewcontrollers. In the second viewcontroller, i have a condition that if it's true i pop to the first viewcontroller with popToRooViewController. When I do this the app return's to the rootController but in debugger console appears this :
**-[UIWindow endDisablingInterfaceAutorotation] called on <UIWindow: 0x3c04dd0; frame = (0 0; 320 480); opaque = NO; autoresize = RM+BM; layer = <CALayer: 0x3c05b90>> without matching -beginDisablingInterfaceAutorotation. Ignoring. Terminating in response to SpringBoard's termination.**
I don't know why this is happen.
I create the project as a Navigation-Based application.In the mainWindow.xib it has the navigationController and as subview it has the navigationbar and the rootviewcontroller.
Then in the rootViewController I change to viewController instead of tableviewcontroller. The second viewcontroller is also a viewcontroller.
Here is the code when i call the rootcontroller.
else if (emptyTasks == YES && returnAddTask == NO)
{
[self.navigationController popToRootViewControllerAnimated:YES]; // "Pushing the controller on the screen"
returnAddTask = YES;
}
Thanks for your help!! :)