개발 - iPhone/개발 Tip
UIPinchGestureRecognizer 실시간 이미지 resize
netkorea
2010. 9. 28. 08:55
http://www.iphonedevsdk.com/forum/iphone-sdk-development/52507-user-resize-image-screen.html
![]() |
#2 (permalink) | |
Registered Member
Join Date: May 2009
Posts: 22
|
![]() Quote:
Basically, you make a UIPinchGestureRecognizer and add it to your view, and in UIGestureRecognizer you register for a callback. When that is done, when the user has started pinching, it will not only callback, but the UIPinchGestureRecognizer will give you a scale by how much, which you can immediately translate into a scale. Relevant Text: UIGestureRecognizer Documentation |