Quote:
Originally Posted by neuelex
I'm developping a little web app, i would like to let the user scroll inside a map, like in google map for iPad, i don't zooming or anything like that. Just need to move inside the map with one finger. Inside Safari.
Anyone know how to that ?
Thanks.
|
This forum is for developing apps using the iOS SDK and Objective-C and, to achieve this you would simply put your image inside a UIScrollView (set the min and max zoom levels to both be 1.0f to disable zooming), and that's pretty much it.
To do this inside a UIWebView, you could try making your page content bigger than the device can display, and use this Apple-specific tag in your HTML code to disable zooming:
Code:
<meta name = "viewport" content = "user-scalable = no">