开发者

How to disable up/down pan in UIWebView?

I want to have my web view pannable left and right but not up and down. Is that possible开发者_运维百科?

Thanks.


ok, well wrap your one line of html like this:

<html>
<head>
<meta name = "viewport" content = "height = device-height, user-scalable = no, width = WIDTH">
</head>
<body>
...YOUR HTML
</body>
</html>

Replace width with the width of your content, and see how it works.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜