【发布时间】:2012-05-01 04:27:55
【问题描述】:
我在 UIView 上添加了 UILongPressGesture,它是 UIScrollView 的内容,而 UIScrollView 在我的 RootViewController 中。
当 longPress 被识别时,我想调用我的 RootViewController 的 touches started 方法。 意味着我希望在我的 RootViewController 中长按时得到通知。
这是我的层次结构: RootViewController - CustomScrollView - ContentsViews
ContentsViews 有 longPressGestures ,当我们得到长按手势时,我想调用 RootViewController 的触摸开始,而不用抬起我已经触摸屏幕进行长按的手指。
【问题讨论】:
标签: objective-c ios uiscrollview uitouch