0

したがって、テーブルビューを使用して検索バーで機能するリストを作成しましたが、テーブルビューのセクションを押したときにナビゲート/新しいビュー/ページ/画面に移動したいのですが、誰かがこれを手伝ってくれますか?

4

1 に答える 1

0

どうぞ:

 - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath  {
    [[self navigationController] pushViewController:[[SecondViewController alloc] initWithNibName:@"SecondView" bundle:[NSBundle mainBundle]] animated:YES];
 }
于 2013-01-06T21:14:43.393 に答える