码迷,mamicode.com
首页 > 其他好文 > 详细

UIGestureRecognizerDelegate

时间:2014-09-22 23:31:53      阅读:185      评论:0      收藏:0      [点我收藏+]

标签:blog   io   div   sp   cti   on   c   log   ef   

Regulating Gesture Recognition

- (BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer *)gestureRecognizer//Asks the delegate if a gesture recognizer should begin interpreting touches.
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch//Ask the delegate if a gesture recognizer should receive an object representing a touch.

 

Controlling Simultaneous Gesture Recognition

- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer

 

Setting Up Failure Requirements

- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRequireFailureOfGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldBeRequiredToFailByGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer

 

UIGestureRecognizerDelegate

标签:blog   io   div   sp   cti   on   c   log   ef   

原文地址:http://www.cnblogs.com/zhongriqianqian/p/3986685.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!