简体   繁体   English

iOS7 UitableView延迟内容触摸

[英]iOS7 UitableView delayContent Touches

I Have a UITableView with my own UITableViewcell implementation to handle touches for cell. 我有一个UITableView及其自己的UITableViewcell实现来处理单元格的触摸。 So I have already enabled delayContentTouches property so that touch methods doesn't get affected by normal scrolls. 因此,我已经启用了delayContentTouches属性,以便触摸方法不会受到普通滚动的影响。 But with iOS7 it directly goes to touch began method without any delay. 但是有了iOS7,它就可以直接接触开始方法而没有任何延迟。 Is there a way to stop this, i just want to scroll the table as usual and is user keep his finger for some time to go to touchBegan method. 有没有一种方法可以阻止这种情况,我只想像往常一样滚动表,并且用户将手指保持一段时间就可以使用touchBegan方法。 (simply iOS to identify is this a scroll or not as it worked in iOS 6 and older versions) (仅是iOS才能识别出这是滚动还是不滚动,就像它在iOS 6和更早版本中一样)

Thanks in advanced.. 提前致谢..

如何使用延迟触摸的UITapGestureRecognizer

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM