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.
私はiOS向けの開発にかなり慣れていないので、私の質問は次のとおりです。2つの画像がある場合、ジェスチャで同時に操縦したいので、それらが同じ方向にまったく同時に動いている場合、それは可能ですか?
タッチされている画像の位置と移動先 (タッチ位置) の差を取得する必要があります。たとえば、画像が {25, 50} にあり、{30, 55} に移動するとします。その差は {5, 5} です。同じ違いを追加することで、他の画像を変更できることがわかりました。