Area: WebKit
Summary: Hi Team, Our customer app have web-view functionality and we are loading data into the web-view, also we have custom links created with in the page data. Clicking on links will auto scroll into the specific section in the page, with the help of apple API (-(BOOL) webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType) it works well till iOS 10 versions. While we conduct iOS 11 compatibility testing we have found this API is not responding to the request, and the auto scroll don't get triggered. Hence our functionality won't work as expected. Please could you consider this issue, and provide a solutions as soon as possible.
Regards
Steps to Reproduce: 1) Create an app with a custom web-view and load data which consist of links (NSString *htmlHeader = [[[NSString alloc] initWithFormat:@"<a href=\"#%@\">%@</a><br/>", headerName, headerName] autorelease];) 2) Load the content and click the links created as above. 3) Implement (-(BOOL) webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType) method to scroll into the link section.
Expected Results: web-view should auto scroll to the link section.
Observed Results: Nothing happened. Web-view still stand the same.
Version: iOS 11 beta (2,3 and 4)