2 つのビューがあります。1 つはボタンのみ (ビュー 1) で、もう 1 つは検索バー付きのテーブルビュー (画面 2) を含みます。ユーザーがビュー 1 でそのボタンをクリックすると、ビュー 1 が反転して画面 2 が表示されます。
ビュー 2 は、上部にナビゲーション バーがあるナビゲーション コントローラーの内部にあります。
以下は私が今のところ持っているものです。トランジション アニメーションが機能し、2 番目の画面に切り替わりますが、ビュー 2 には SearchBar と NavigationBar のタイトルがありません。どちらもビュー 2 内に設定されています。
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:1.0];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:self.view cache:YES];
navigationController = [[UINavigationController alloc] init];
bestbuyProducts = [[BestBuyProductsViewController alloc] initWithNibName:@"BestBuyProductsViewController" bundle:nil];
[navigationController pushViewController:bestbuyProducts animated:NO];
[navigationController.view setFrame: [self.view bounds]];
[bestbuyProducts release];
[self.view addSubview:navigationController.view];
[UIView commitAnimations];
ありがとうございました