This is an example of a View Controller containing a map view and a TableView.
There is a custom cell class with gestureRecognizer and this class is used for the tableview’s header to scroll it on top of the UIMapView to maximize to real state.
results:
Scrolling up the pink header or Taping on it makes the UITableView reach the top.