Reputation: 1
How to stop zooming level of content in webview using windows phone 8.1
webFreeFlow.getSettings().setSupportZoom(false);
I am using that approach but this doesn't work to plz give me any suggestion
Upvotes: 0
Views: 527
Reputation: 3129
You will have to do this through WebView.InvokeScriptAsync method and setting the user-scalable
to no
in JavaScript so that it produces something like this:
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
Some additional resources here
Upvotes: 2