Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 UIPanGestureRecognizer 将图像带出其框架。一旦出框架仍然收到触摸?如果它没有收到触摸,我该怎么办?
您可以使用另一个视图(不可见的)来获取手势,然后更改图像的框架或大小