I am using a UIScrollView on the right side of my UIView. The ScrolView containes many UIImageView items and I allow only vertical scroling on the scrollview. The ImageView items can be dragged outside the scrollview to be placed on another view. The UIScrollview is set to delaysContentTouches = YES. This allows the nice feature of quickly scrolling the bar even when touching on one of it s content items, but on the other hand it introduces that little delay of about 0.15 seconds, when one of the content items is touched to be dragged into the other view.
设置延迟 ContentTouches = NO, 允许以水平擦拭手势拖动内容项, 但当然不允许垂直擦拭手势的滚动视图垂直滚动 。
所以我想保留延迟 ContentTouches =是的, 但不知何故只用在垂直的擦拭手势上, 而对于水平的擦拭, 我想要一种行为, 好像延迟 ContentTouches = NO
有什么建议吗?
提前感谢