> Is the a way to prevent the screen moving to the center where you have > double tapped
Double tap usually mean "zoom" with Mobile Safari. > > I have tried using preventDefault() on the whole document but that > causes me problems elsewhere > If you want to design an webapp meant to work on iOS devices you should use the "viewport" meta tag to constraint the behavior of your pages. For instance: <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" /> This will prevent zoom whether using double tap or pinch. -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
