英語が下手でごめんなさい。ストーリーボードに2つのビューがありMainViewController
ます。アプリTabBarController
のボタンを(モーダルセグエを使用して)押すと、条件に切り替えたり、条件に応じて切り替えたりします。正常に動作しますが、その後、tabBarViewsの下部で失われました。MainviewController
firstTabBarView
secondTabBarView
TabBarControls
UPD:バーボタンを押した後のアクション
-(IBAction)barButtonPressed:(id)sender
{
if (condition !=0 ) {
[self performSegueWithIdentifier:@"segue1" sender:nil];
} else {
[self performSegueWithIdentifier:@"segue2" sender:nil];
}
}