evgenyneu / Auk

An image slideshow for iOS written in Swift.
MIT License
277 stars 44 forks source link

How to implement pinch to zoom? #66

Closed 0x6d6e closed 7 years ago

0x6d6e commented 7 years ago

Hello Evgenii, Thanks for this wonderful piece of work. I have enjoyed using this. I actually wanted to add "pinch to zoom" feature in this for my project. In your opinion, what would be the best approach to do on the Auk project?

Regards Mithun

evgenyneu commented 7 years ago

Thanks, @0x6d6e. I would implement it in a separate scroll view containing a single image:

  1. User taps an image they want to view in Auk.
  2. A new scroll view is shown containing single image.
  3. Use a scroll view pinch to zoom technique, here is an example of one.

Is that what you were looking for?

0x6d6e commented 7 years ago

THanks. Will check it out.