facebook

How to enable the swipe and pinch zoom to my app?

šŸ’”
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 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #319245 Reply

    Paradidle
    Member

    Hi!

    I am making an app for a photographer, so he can show his customers his best pictures i different categories. The app itself works fine, but when running on the iPad (or emulator) the pinch zoom does not work.

    I would also like to swipe between the different pictures, instead of using an arrow to navigate to the next picture. How to do that?
    As of today i have made one page for each picture, but what i want is to add 6 pictures to each category, and when viewing the first picture: Swipe right to left brings you to the next picture. left to right should bring you back to the previous picture.

    Any help is appreciated šŸ™‚

    PƄl.

    #319260

    support-michael
    Keymaster

    @Paradidle

    1) Pinch/Zoom issue
    Pinch/Zoom works fine in the ipad emulator. The issue you are experiencing is that the UI you are working with is not enabled to zoom. That is, it most likely has a viewport tag that prevents pinch-zooming, e.g.

    <meta name=”viewport” content=”initial-scale = 1.0,maximum-scale = 1.0″ />

    2) Swipe page navigation
    Swipe page navigation is not supported. We have a carousel control planned but that doesn’t help for immediate needs. I’m discussion what other options are easily available now.

    If anyone else has suggestions please share.

    #323995

    Max87
    Member

    Hello Wayne
    is it possible to overwrite viewport meta tag for just one screen, not globaly for whole application?
    Thank you for response.

    #323997

    support-michael
    Keymaster

    @Max87

    Unfortunately no. Multiple UI screens are collapsed down into 1 DOM structure that the meta-tags apply to.

    #324026

    Max87
    Member

    Thanks Wayne for response.
    Would be possible to add option to Settings that edits viewport meta tag, so I don’t have to edit it manually via external editor?
    Thanks.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: How to enable the swipe and pinch zoom to my app?

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