Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/101.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 使用Pangestree后SwipeGestureRecognitor不工作_Ios_Objective C_Uipangesturerecognizer_Uiswipegesturerecognizer - Fatal编程技术网

Ios 使用Pangestree后SwipeGestureRecognitor不工作

Ios 使用Pangestree后SwipeGestureRecognitor不工作,ios,objective-c,uipangesturerecognizer,uiswipegesturerecognizer,Ios,Objective C,Uipangesturerecognizer,Uiswipegesturerecognizer,我正在使用PangestureRecognitizer查看我的self.view和UISweepGestureRecognitizer查看我的UITableView。 我在self.view中添加了UITableView作为子视图。 现在,手势不起作用。 但是,如果我在self.view中禁用PanGesture,SwipEsture将正常工作 有人能解决这个问题吗 浏览这个问题的答案,了解一下滑动和平移手势 希望这能帮助您……您是否启用了用户交互?通过这些链接获得答案。对我已经启用了。未能调

我正在使用PangestureRecognitizer查看我的
self.view
UISweepGestureRecognitizer
查看我的
UITableView
。 我在
self.view
中添加了
UITableView
作为子视图。 现在,
手势
不起作用。 但是,如果我在
self.view
中禁用PanGesture,SwipEsture将正常工作


有人能解决这个问题吗

浏览这个问题的答案,了解一下滑动和平移手势


希望这能帮助您……

您是否启用了用户交互?通过这些链接获得答案。对我已经启用了。未能调用“ShouldRecognizeSimultaneouswithGestureRecognizer”此委托方法来运行多个GestureRecognizer