iphone - check if pinch is released in UIPinchGestureRecognizer -



iphone - check if pinch is released in UIPinchGestureRecognizer -

how check if pinch has been released? tried

- (ibaction)resizeimage:(uipinchgesturerecognizer *)sender { if (sender.delaystouchesended) //here }

and didn't work out

you need check sender.state == uigesturerecognizerstateended , perchance sender.state == uigesturerecognizerstatecancelled

iphone objective-c ios ipad

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

content management system - How to allow only English submissions on Pligg CMS -

c++ - Is it possible to apply breadth-first search algorithm of boost library to matrix? -