SplitViewプロジェクトを作成したら、RootViewController.mファイルを開き、-tableViewDidSelectRowAtIndexPathメソッドを確認します。クリックしたアイテムがDetailViewControllerのプロパティとして設定されていることがわかります。
探しているデザインでは、別のViewControllerをナビゲーションスタックにプッシュする必要があります。したがって、電子メールアプリケーションを想像すると、ユーザーがフォルダーを選択しても、detailViewは更新されませんが、受信トレイの次のレベルがスタックにプッシュされます。ユーザーが受信ボックスからメッセージを選択すると、詳細ビューがメッセージの内容で更新され、RootViewControllerはその場所に留まります。
-tableViewDidSelectRowAtIndexPathメソッドで、新しいViewControllerを宣言します
NextViewController *nextView = [[NextViewController alloc] initWithStyle:UITableViewStylePlain];
//This assumes you have another table view controller called NextViewController
//We assign it to the instance variable "nextView"
[self.navigationController pushViewController:nextView animated:YES];
//tells the navigation controller to "slide" the "nextView" instance on top
//if animated:NO it wouldn't slide, it would just "update"
[nextView release];
//release the viewController, it's now retained automatically by the NavigationController
これは意味がありますか?