UIScrollView tutorial question

Hi, the UIScrollView Tutorial board has just closed, so I am asking my question here.
I am trying to make a zoom function like on instagram, where you can zoom in, but when you release the pinch the image goes back to fit within the bounds. The action is like when you zoom out, it snaps back to fitting.
Thanks for your help.

@rorymckay Thanks very much for your question!

I found a question on StackOverflow which provides an answer, as well as a GitHub sample code which shows you how to implement it :slight_smile:

I hope this helps!

All the best!

1 Like

This topic was automatically closed after 166 days. New replies are no longer allowed.