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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...