2

I have a problem while I apply this code on

-(void)tabBar:(UITabBar *)tabBar didSelectItem:(UITabBarItem *)item{
 UINavigationController *nav=(UINavigationController*)self.selectedViewController;
    [nav popToRootViewControllerAnimated:YES];
}

when select index at 0 error message xcode give "Unbalanced calls to begin/end appearance transitions for ." and my all tabbar getting freeze.please help me out.Thank you

  • 1
    possible duplicate of [Keep getting "Unbalanced calls to begin/end appearance transitions for " error](http://stackoverflow.com/questions/20919616/keep-getting-unbalanced-calls-to-begin-end-appearance-transitions-for-viewcont) – Hemang Jan 05 '15 at 08:46
  • 1
    [Unbalanced calls to begin/end appearance transitions for UITabBarController](http://stackoverflow.com/questions/8563473/unbalanced-calls-to-begin-end-appearance-transitions-for-uitabbarcontroller) – Hemang Jan 05 '15 at 08:47
  • thank you this will solve my problem :) – Sourav Basu Roy Jan 05 '15 at 08:58

0 Answers0