Hello, big thanks on giving this awesome example!
Now, in addition to this, I want to show an icon (in the top-right) that indicates that this photo is zoomable. The behaviour, I imagine, could be to show an icon that is shown in the zoomed out state and fades out when the user zooms in.
I can manage to get an overlay working, but I don't know where I can hook in to listen to a meaningful zoom gesture.
Also, I want to zoom in (a reasonable amount) when the user double taps (or zooms out, if the image is zoomed in). How can I dispatch zoom events via code?
Hello, big thanks on giving this awesome example!
Now, in addition to this, I want to show an icon (in the top-right) that indicates that this photo is zoomable. The behaviour, I imagine, could be to show an icon that is shown in the zoomed out state and fades out when the user zooms in.
I can manage to get an overlay working, but I don't know where I can hook in to listen to a meaningful zoom gesture.
Also, I want to zoom in (a reasonable amount) when the user double taps (or zooms out, if the image is zoomed in). How can I dispatch zoom events via code?