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.
在我的应用程序中,我想在屏幕中央放置一个圆形的 UIImage。然后我希望用户能够旋转图像,触摸圆周上的一个特定点,然后像轮子一样拖动,但我不知道从哪里开始。
我知道我可以使用开始、移动和结束的触摸,但是我怎样才能确定一个点呢?
origin您可以调整UIView. 这应该强制围绕该点旋转。
origin
UIView