Yes, try to perform the action after one second and half or a couple of second. To do this, use dispatch_after
that return immediately so the method - (void)webViewDidFinishLoad:(UIWebView *)webView return
:
- (void)webViewDidFinishLoad:(UIWebView *)webView
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
[self.webScrollView setContentOffset:CGPointMake(0, 5000) animated:NO];
});
}