I have a viewController that has a tableView and a mapView, and only one is visible. I also have a toolbar with segment control with two buttons (list and map)
How do I switch between the table view and the map view ? and it's important that the toolbar will stay locked without animating with the views.