i have an ImageView and, when the user taps it, i need to show it in full screen with pinch and zoom,
any idea on how to show it full screen ? What about the pinch and Zoom, is there any implementation that may help to accomplish this ??
Thanks you all..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To do the pinch zoom i had to put an ImageView inside a ScrollView and set the scrollview MaximumZoomScale to a value grater than 1 and implement the event OnViewForZoomingInScrollView to return the ImageView. I Also had to set the propery PagingEnabled to false so the scrollView stop moving the image as i pan it while zooming.
To do the full screnn i only set and UIView to be the only visible view in the form and aligned it to Client. Im still trying to hide the statusbar so i can get Real Full Screen.
Regards.
Last edit: Fabio Manfredini 2014-09-23
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i have an ImageView and, when the user taps it, i need to show it in full screen with pinch and zoom,
any idea on how to show it full screen ? What about the pinch and Zoom, is there any implementation that may help to accomplish this ??
Thanks you all..
I have figured out how to do it:
To do the pinch zoom i had to put an ImageView inside a ScrollView and set the scrollview MaximumZoomScale to a value grater than 1 and implement the event OnViewForZoomingInScrollView to return the ImageView. I Also had to set the propery PagingEnabled to false so the scrollView stop moving the image as i pan it while zooming.
To do the full screnn i only set and UIView to be the only visible view in the form and aligned it to Client. Im still trying to hide the statusbar so i can get Real Full Screen.
Regards.
Last edit: Fabio Manfredini 2014-09-23