2010. 9. 28. 08:55
UIPinchGestureRecognizer 실시간 이미지 resize 개발 - iPhone/개발 Tip2010. 9. 28. 08:55
http://www.iphonedevsdk.com/forum/iphone-sdk-development/52507-user-resize-image-screen.html
07-07-2010, 10:18 PM | #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 |
'개발 - iPhone > 개발 Tip' 카테고리의 다른 글
cocos2d - CCTileMapAtlas | gaps | artifacts | black lines | flicker | v0.99.0rc (0) | 2010.09.28 |
---|---|
cocos2d - Isometric map tile position, detect edges (0) | 2010.09.28 |
iPhone Keychain Access (0) | 2010.09.09 |
Setting cocos2D camera position using CCFollow (0) | 2010.09.05 |
NSZombieEnabled (0) | 2010.08.06 |