Skip to content

Instantly share code, notes, and snippets.

@MinhNguyenVan
Created September 28, 2015 06:06
Show Gist options
  • Save MinhNguyenVan/c6b5c3336a302aac4302 to your computer and use it in GitHub Desktop.
Save MinhNguyenVan/c6b5c3336a302aac4302 to your computer and use it in GitHub Desktop.
- (void)disableKeyboardScroll
{
self.webView.scrollView.scrollEnabled = NO;
self.webView.scrollView.delegate = self;
}
- (void)scrollViewDidScroll:(UIScrollView *)scrollView
{
self.webView.scrollView.bounds = self.webView.bounds;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment