iOS Question PinchZoom

jazzzzzzz

Active Member
Licensed User
Longtime User
sorry for starting another pinchzoom thread here,I was forced to do so because I was struggling to do pinch zoom in IOS.

I have seen https://www.b4x.com/android/forum/threads/zoomable-imageview.55185/ this thread and it does not works good ,I could post a video if needed

Below video show a pretty simple way to pinch zoom image using scrollview can some one help to do it in b4i?



Or can we use this kind of javascript library given below in a webview to zoom image?

https://0.s3.envato.com/files/78471334/index.html

A good tutorial for pinch zoom functionality will be really usefull for many
 

jazzzzzzz

Active Member
Licensed User
Longtime User
Please check this video I have uploaded.
The first image is low resolution so it fit in the view by default , but the second image is a high resolution one so it does not fit in the screen initially as it was with the first image. The second image we have to drag a lot to see the whole image. That the issue with the web view

 
Upvote 0

jazzzzzzz

Active Member
Licensed User
Longtime User
Now its good (image are fitted correctly no matter large or small),
my App works only in portrait,so when I load a landscape image it will be placed on top of the screen because my webview in fullscreen.

I want to place the image in the center of the screen if its a landscape image (Its the way that camera roll shows the full image) ,How can i do it?
 
Upvote 0
Top