Manuel Escrig
Manuel Escrig

Reputation: 2835

shouldStartLoadwithRequest not getting called in iPad Pro

I have a UIWebView object with the delegate set webView.delegate = self and UIView <UIWebViewDelegate>

The following delegate call is getting called in all the iOS devices except the new iPad Pro with iOS 9.2.

   - (BOOL)webView:(UIWebView*)webView shouldStartLoadWithRequest:(NSURLRequest*)request navigationType:(UIWebViewNavigationType)navigationType

Does anybody knows why is not working with this specific device?

Upvotes: 0

Views: 161

Answers (1)

Manuel Escrig
Manuel Escrig

Reputation: 2835

Found the problem. The situation was that the server was using a Javascript library called NativeBridge in order to communicate with the iOS app UIWebView and this javascript library is not compatible with the iPad Pro.

Solution was to changed the NativeBridge library for another one more up to date on the server side.

Upvotes: 1

Related Questions