Skip to content

Instantly share code, notes, and snippets.

@matsuyoro

matsuyoro/file0.txt

Last active Nov 13, 2015
Embed
What would you like to do?
iOSアプリ等でwebviewを表示する際に、拡大はするがユーザーがピンチで拡大や、スクロールができないようにする。 ref: http://qiita.com/matsuyoro/items/2240b29e14d23bda102f
_webView.scalesPageToFit = YES;
<html>
<head>
<meta name='viewport' content='width=device-width,user-scalable=no' />
</head>
<body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment