ipad - UIPinchGestureRecognizer (Zoom out /Zoom in) -


I have used the UIIngGustrector in my application to zoom in or out. While working at zoom in / out at zoom out But I want to set the minimum and maximum scale UIPinchGestureRecognizer so that the image should not be smaller than the iPad size. There is a way to set the scale minimum and maximum UIPinchGestureRecognizer, please reply as soon as possible.

Thanks Worship Russiaia iPhone Developer

  peak scale float scale = FMXF (Pinchskel, FMINF (iPadWith / ImageWith, iPadHead / ImageHit)); Use scale instead of // pinchScale  

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -