Storyboard Segue From View Controller to Itself

前端 未结 9 2177
无人及你
无人及你 2020-12-04 16:39

I am trying to make a mechanism to drill down a file / folder list. The idea is to show the same file list view controller every time the user selects a folder, and show a f

9条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-04 17:08

    Hope this helps.

    I found that you can create multiple prototype cells.

    Than you can link every cell (in the Storyboard) to a different View.

    Something like this:

    NSString *CellIdentifier = @"Cell"; 
    if (Condition2 ){
    CellIdentifier = @"Cell2"; } 
    if (Condition3 ){
    CellIdentifier = @"Cell3"; }
    

提交回复
热议问题