문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top