There is a WebView which loads mobile-optimized URL (webpage). But when I click on a link, it does not load inside of the WebView (inside of the app), but mobile browser opens. Ho
Solution 1:
Return true instead of false in shouldOverrideUrlLoading.
From the documentation:
shouldOverrideUrlLoading returns True if the host application wants to
leave the current WebView and handle the url itself, otherwise return
false.
Share
Post a Comment
for "Webview Clicks Opens Mobile Browser"
Post a Comment for "Webview Clicks Opens Mobile Browser"