问题
Does anyone know why this does not work?
With this, just one tab bar load the view, the other make black screen. I Have tried without Navigation Controller, and Tab bar is correct and the other doesn't show the tabBar item in running mode.
回答1:
My answer for this problem if anyone is interested.
Add two views that will launch the view we are interested. Same file for this 2 views :
@interface PushToAgenceViewController : UIViewController
@end
-(void) viewWillAppear:(BOOL)animated {
[self performSegueWithIdentifier: @"pushName" sender: self];
}
来源:https://stackoverflow.com/questions/11684787/storyboard-2-navigation-controller-pointing-same-view