facebook

Viewport tag

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #328522 Reply

    ASF11
    Member

    I have been trying unsuccessfully to enable pinch/zoom functionality. I have manually altered the generated HTML, setting the various properties as defined here

    https://developer.apple.com/library/safari/#documentation/appleapplications/reference/safarihtmlref/articles/metatags.html

    but nothing has any effect. It works within the test centre using the Alt key for multi-touch, but not when uploaded to iPod/iPad.

    From the test centre the I view the source

    <html>
    <head>
    <title>nnnnn</title>
    <meta name=”generator” content=
    “MobiOne Studio – Design Center (2.0.1.201207111430), http://genuitec.com/mobile“/>
    <meta name = “viewport” content = “initial-scale = 2.3, user-scalable = yes”>

    The latest build number is 1692048

    I need to get this working ASAP for my client. Please let me know how to enable this, thanks.

    #328700

    Hi,

    I’ve discussed your request with the dev team. it isn’t possible until we introduce control for zoomming images.

    #328717

    ASF11
    Member

    Thanks for your response but I don’t understand why it would be supported in the test centre emulator but not on the actual device.

    I have never had the situation before (in 25 years of software engineering) where the emulator has more/enhanced functionality compared to the target environment, it just does not make logical sense.

    Is there no situation in which the pinch/zoom will be functional on the iPhone ? I can maybe rework the solution if , for example, only a subset of controls are supported.

    #328721

    Hi ASF11,

    Pinch/zoom is implemented in proprietary Apple code, and our TC component (based on open-source WebKit) is forced to re-implement this functionality through emulating these events. For sure when you’re trying to re-implement functionality of proprietary code you’ll have some differences in implementation. Pinch zoom is disabled inside phoneui because it clashes with iScroll (we use this component for smooth scrolling in Panel component). TC doesn’t implement check for this pinch/zoom disabling code, that’s why you see it’s working on TC.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Viewport tag

You must be logged in to post in the forum log in