[Solved] Static TableView and Dynamic Table view in same view [closed]


A static tableView must be embedded in a UITableViewController, which automatically expands it to the full available size, so you can not have another view within it.

However, you can accomplish what you are trying to do by using two dynamic table view’s and embed them in a standard view controller. You will have to make multiple prototype cells and return the appropriate cell based on which row is asked for instead of the static table view.

solved Static TableView and Dynamic Table view in same view [closed]