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.
別のジェスチャの実行中に 1 つのジェスチャをトリガーすることはできますか? パン ジェスチャであるジェスチャ A と、長押しジェスチャ B があるとします。指を画面に残したまま、パン中に B を発射できますか? ありがとう
絶対!Apple は、この動作を制御するデリゲート メソッドも提供しています。
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizershouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer