iphone - Preventing pinch zoom and double tap zoom on UIWebview -
i know question has been asked in various ways before, want set out there issue trying solve. loading google maps on uiwebview instead of using mapkit. there restraint on zooming map .therefore , want restrict user using double-tapping or pinching zoom happens default behaviour of uiwebview. providing separate zoom-in/out buttons app user's use.can provide solution same. using ios6 sdk.
webview.multipletouchenabled = no;
or
webview.scalespagetofit = no;
the above hasn't worked me.
you have inject html in order work think.
<meta name="viewport" content="width=1000px; user-scalable=0;" />
iphone objective-c ios6 uiwebview
No comments:
Post a Comment