我有一个带有大型交互式控件的自定义内容视图,其中包含多个附加了平移手势的子视图。控件左侧的交互位起作用,但右侧的位不起作用。
我的猜测是有一些观点吸收了这些手势。有没有办法确保手势在控制侧或表格单元侧通过?
我尝试过执行以下操作:
[[cell textLabel] removeFromSuperview];
[[cell accessoryView] removeFromSuperview];
[[cell backgroundView] removeFromSuperview];
[[cell contentView] addSubview:display]; //adding my custom view