I have implemented a MKMapView in the header area and I\'d like to expand it fully to the top even when you drag down the table into the bounce area - Similar to Fours
Implement the scrollview delegate for table view. Since it is a subclass of scrollview you can use the scrollview delegates. Implement scrollViewDidScroll
delegate and whenever it scrolls down, change the frame of headerview and make sure the pin always comes in the center of the screen.
Include UIScrollViewDelegate
in .h file and implement,
- (void)scrollViewDidScroll:(UIScrollView *)scrollView {
//set the frame of MKMapView based on scrollView.contentOffset and make sure the pin is at center of the map view
}