Question

I am creating an app where when a user taps on a button (an object in the room), I would like the UIViewController to zoom closer to that button upon an IBAction. I would like this to be similar to the pinch zoom but when the user taps on a button.

Help on this would be much appreciated as I cannot find much on the internet, it just comes up with 'can't drag and drop in Xcode while zooming' etc.

Was it helpful?

Solution

if I were you, I would really consider to use CGAffineTransform to achieve that custom zoom effect. you will find more about the Quartz2D programming in the Apple Docs.

that would my idea / suggestion for you.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top