一、 问题
页面跳转的时候
HomeViewController *home = [[HomeViewController alloc] init];
AppDelegate *myDelegate = [[UIApplication sharedApplication] delegate];
[myDelegate.navigationController pushViewController:home animated:YES];
在IOS7 出现下面问题
nested pop animation can result in corrupted navigation bar. unbalanced calls to begin/end appearance transitions for uiviewcontroller.
Navigation Bar subview tree might get corrupted.
二、解决办法
跳转的时候,延时1秒
[self performSelector:@selector(gotoHomeView) withObject:nil afterDelay:1.0f];
- (void)gotoHomeView {
HomeViewController *home = [[HomeViewController alloc] init];
AppDelegate *myDelegate = [[UIApplication sharedApplication] delegate];
[myDelegate.navigationController pushViewController:home animated:YES];
}