0
是否有任何方法可以將對象從一個視圖添加到另一個視圖,並讓對象立即跟隨用戶的手指。 A UIImageView
存在於UIScrollView
內。您可以使用UILongPressGestureRecognizer
將其從UIScrollView
中刪除,將其添加到整體視圖中。將對象添加到不同視圖並立即跟隨手指
我想要imageview然後按照主視圖上的觸摸。 UIImageView
有一個UIPanGesture
來控制運動。問題是,在長時間和平底鍋之間,你必須擡起手指並重新敲擊屏幕。有什麼方法可以將對象添加到主視圖中,並且它已經在用戶的手指之後而不必擡起手指?