I fixed it by implementing both tableViews into one tableView. And then I just switch the datasource of the tableview depending on which button of the segmented control is clicked :)