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.
ボタンが押されている限り、アクションを実行したいボタンがあります。手放すと、アクションが停止するはずです。たとえば、私のボタンは、ボタンを押すと離されるまで画像を表示することです。このようなことはどのように行われますか?
でアクションを開始し、アクションでtouchDownInside停止touchUpInsideできます。IB でそれらを接続できます。
touchDownInside
touchUpInside