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.
uibutton の外側で TouchDown してから、UIEventTouchDragEnter などを使用して別の UIButton の内側にドラッグすることは可能ですか?
コードについて助けが必要です。imageView で試してみましたが、ボタンを使用したソリューションをいただければ幸いです。
ありがとうございました!
ふらんふ
UITouchDownEventボタンがタッチを追跡するには、ボタンの内部でイベントが発生する必要があります。このUITouchDragEnterイベントは、タッチがボタンの内側で開始し (生成UITouchDownEvent)、ボタンの外側に移動し (生成)、UITouchDragExitEventボタンの内側に戻ったことを意味します (生成UITouchDragEnterEvent)。
UITouchDownEvent
UITouchDragEnter
UITouchDragExitEvent
UITouchDragEnterEvent