TimOliver/TOWebViewController

Double click on UIWebview causes unexpected popwindow

hoorayjJX opened this issue · 1 comments

This problem only happens on iOS 7.1+
url: repast.baiyele.com/cdd
Looking for your reply,thx
2015-06-09 5 35 14

Hi there.
Erm... sorry. I don't think there's anything I can do to fix that from the TOWebViewController end. Double-tapping to zoom in is a default feature of UIWebView, but it looks like the page itself is doing something weird that's causing that problem.

Something that might help is if you go to the website's code, and inside the <head> block, add this:

<meta name="viewport" id="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />

That SHOULD disable the zooming of the UIWebView. :)

Good luck!