Learn Courses My Dashboard

App for School: Zooming into Image

Hi All,

I made a zoom-in feature for an image, but I want the user to be able to look (while zoomed-in) around the image in all directions to see specific parts. For example, in google maps, you can zoom in and hold in any direction to see more. I would appreciate it if someone could show me how! Here is the code: https://github.com/Oracle16/MapView/blob/main/MapView.swift

Welcome to the community!

You should look into gesture recognizes and search about “pan” an image. This means to move it around like you’re describing

1 Like