階層UITableViewを作成するには? したがって、セルをセル上に移動すると、テーブルビューが作成されます。iOSの作成ディレクトリのような効果
何か案は?あなたはいくつかの例を持っているかもしれません、それを共有してください!
階層UITableViewを作成するには? したがって、セルをセル上に移動すると、テーブルビューが作成されます。iOSの作成ディレクトリのような効果
何か案は?あなたはいくつかの例を持っているかもしれません、それを共有してください!
primaryViewController
これは、となどの 2 つの UITableViewController を作成することで実現できますdetailViewController
。primaryViewController
の .m ファイルに、次への遷移のロジックを追加しdetailViewController
ます。
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
// Navigation logic may go here. Create and push another view controller.
DetailViewController *detailViewController = [[DetailViewController alloc] initWithNibName:@"DetailViewController" bundle:nil];
// ...
// Pass the selected object to the new view controller.
[self.navigationController pushViewController:detailViewController animated:YES];
}