Menu

View Image Full Screen + Pinch Zoom

2014-09-23
2014-09-23
  • Fabio Manfredini

    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..

     
  • Fabio Manfredini

    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

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.