我在NSLog中的 – tableView:didSelectRowAtIndexPath方法中打印了一个UITableviewCell的手势
<UIScrollViewPanGestureRecognizer: 0x11e92080; state = Possible; cancelstouchesInView = NO; delaystouchesEnded = NO; view = <UITableViewCellScrollView 0x11e94bf0>; target= <(action=handlePan:,target=<UITableViewCellScrollView 0x11e94bf0>)>>
我已将此UIScrollViewPanGestureRecognizer分配给UIGestureRecognizer以访问其属性,如下所示,
UIGestureRecognizer *myGes=[temp.gestureRecognizers objectAtIndex:1];
我能够访问’myGes’的所有属性
myGes.state; myGes.cancelstouchesInView; myGes.delaystouchesEnded; myGes.view;
有没有可能访问该属性?因为我需要执行该操作.
任何意见或建议将不胜感激.
先感谢您.