Webview Clicks Opens Mobile Browser
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
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.
Post a Comment for "Webview Clicks Opens Mobile Browser"