Unbalanced calls to begin/end appearance transitions for <UINavigationController: 0xa98e050>
ios, ios6, iphone, objective-c, uinavigationcontroller
Solution
I know this is an old question, but for the sake of those who run across this again, here is what I've found.
Firstly, The question does not state where the new `viewController` was being called. I suspect this was called from `-(void)viewDidLoad`
Move the appropriate code to `-(void)viewDidAppear:` and the problem should go away.
This is because at `-viewDidLoad`, the view has loaded, but has not yet been presented and the animations and views have not completed.
If your intent is to push a window, do it after the window has been presented and has painted.
If you ever find yourself using timers to control system behavior, ask yourself what you are doing wrong, or how you could do it more properly.
Problem
While compiling the code i got "Unbalanced calls to begin/end appearance transitions for `<UINavigationController: 0xa98e050>`" warning. Here is my code ``` KVPasscodeViewController *passcodeController = [[KVPasscodeViewController alloc] init]; passcodeController.delegate = self; UINavigationController *passcodeNavigationController = [[UINavigationController alloc] initWithRootViewController:passcodeController]; [(UIViewController *)self.delegate presentModalViewController:passcodeNavigationController animated:YES]; ```