Performance Strategy Question: WebView


(Cian O'Sullivan) #1

Hello,

I have a couple images that I want to have pinch and zoomable. So I thought the easiest thing would be instead of using an image component, I use a webviewer, have it only show the image, and that way we can pinch and zoom within the display size.

I have three images I want to do this for, and am wondering if there are any performance issues I may run into have three webviewers on one screen in an app.

Any thoughts on this?


#2

it depends most probably on the image sizes and your device…
try it to find it out yourself and let us know about your progress…
Taifun


(Cian O'Sullivan) #3

Okily Dokily. It will be an interesting experiment for sure.


(Cian O'Sullivan) #4

Ok so I did something different for now. I setup a short click sooms it 1005, and a long click zooms 200%. Repeat either a short or long to return to normal.

I think that will work for now :slight_smile:


(Pablo Almeida) #5

I had this idea a few days ago and it worked just fine.


(Yusuf Cihan) #6

Using Canvas is maybe not stable, but at least, it is working. :slightly_smiling_face:

I’m using Canvas with Taifun’s Swipe method.
https://puravidaapps.com/snippets.php#2flung

I also added pinch to zoom.