Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/111.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 如何在UITableView中获取触摸的位置拖动&;滴_Ios_Swift_Uitableview - Fatal编程技术网

Ios 如何在UITableView中获取触摸的位置拖动&;滴

Ios 如何在UITableView中获取触摸的位置拖动&;滴,ios,swift,uitableview,Ios,Swift,Uitableview,我正在UITableView中实现拖放,问题是如何获取触摸的位置? 所以我可以告诉你,电池是在1,2,3,4或5区掉下来的 您可以覆盖touchsbegind(:with:)并使用x和y变量来跟踪位置,请参阅此处以获取文档

我正在UITableView中实现拖放,问题是如何获取触摸的位置?
所以我可以告诉你,电池是在1,2,3,4或5区掉下来的


您可以覆盖touchsbegind(:with:)并使用x和y变量来跟踪位置,请参阅此处以获取文档