I have a UIScrollview that expands in the y-axis and calls this delegate method:
-(void)scrollViewDidScroll:(UIScrollView *)scrollView {
float yOff = scrollView.contentOffset.y;
NSLog(@"y off is %f", yOff);
}
As the scrollView is moved to the top (ie. yOff == 0), it actually comes to rest at -20px on most phones and -44px on the iPhoneX. How do I switch this behaviour off, and what are the risks of doing so?