I have three Controller First, Second, Third. First is the rootViewController of navigationController.
in SecondViewController, I have protocol called SecondViewControllerDelegate which has a delegate method
@protocol SecondViewControllerDelegate <NSObject>
- (void)doneSucceed:(NSString *)msg;
@end
in FirstViewController, I have a button, when click it, doing the following
[self.navigationController pushViewController:_s animated:YES];
_s means the SecondViewController whose delegate is the FirstViewController
in doneSucceed method do the following
- (void)doneSucceed:(NSString *)msg
{
NSLog(@"%@", msg);
[self.navigationController popViewControllerAnimated:YES];
[self.navigationController pushViewController:_t animated:YES];
}
then the error
nested push animation can result in corrupted navigation bar show, anyone tell me why? THX