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
I put the content of the header view inside another view which I constrain to each side of the header view. Then using an IBOutlet to the top constraint I just set it to the contentOffset.
- (void)scrollViewDidScroll:(UIScrollView *)scrollView {
if (_tableView.contentOffset.y < 0) {
_mapTopConstraint.constant = _tableView.contentOffset.y;
}
}