Sunday 23 August 2020

Primary/Master - Table view with multiple levels

I'm trying to develop an app for both iPad and iPhone with split view controller where MasterViewController has a UITableView, let's say folders. Selecting a row (a folder) from MasterViewController should show it's sub items (sub folders & files). These should replace the original rows (folders) in Master view.

Selecting a file should show its information on Detail view. Selecting a sub folder should replace it's files/ sub folders list in Master view. I also need to keep the Back button in navigation bar to go back to main folders.

I searched but couldn't find any examples or suggestions on replacing the Master view and keeping the Back button. I've to do this programmatically without storyboards. Any ideas? Thanks in advance.

enter image description here



from Primary/Master - Table view with multiple levels

No comments:

Post a Comment