Jump to content

How to Implement a pinch to zoom functionality for TunimImage in mobile?


merolarosa

Recommended Posts

Hi i was wondering how can display multiple images on carousel in mobile with a TUnimImage on each page but with the possibility to zoom the images in and out?

 

i tried many libraries and plugins online but i failed to make them work with unigui mobile.

 

Even if that failed, ow can make zooming mobile form itself enabled like desktop applications?

 

I tried that code but no luck:

<meta content='True' name='HandheldFriendly' />
<meta content='width=device-width; initial-scale=1.0; maximum-scale=2.0; user-scalable=1;' name='viewport' />
if (document.body) {
   document.body.addEventListener('touchmove',function(event){
  event.preventDefault();
   },false);
}

Please help me in either zoom the whole window or image.

 

Thanks in advance

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...