プロジェクトにタブバーがあり、各タブバーにはテーブルビューがあります。以下のようにテーブルビューの行をクリックすると詳細画面を開きたい。しかし、何も起こりません。私がやっている間違いはどこですか。ロジックをどのように設定すればよいですか。
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
DetailScreen *detail = [[DetailScreen alloc] initWithNibName:@"DetailScreen" bundle:nil];
[self.navigationController pushViewController:detail animated:YES];
[detail release];
}