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.
viewControllersのビューに追加したカスタムビューでは、タッチを処理する必要がありますが、その特定の領域でのみ処理する必要があり、すべての場所で処理する必要はありません。
どうすればいいですか?
pointInside:withEvent:ビューが必要な領域にないタッチを無視するようにオーバーライドできます。
pointInside:withEvent: