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.
透明度が比較的大きく、アルファスペースのある画像があります。それで、これをタップしたことを検出できるがUIImageView、ユーザーがアルファ領域をタップした場合に応答がない方法はありますか?
UIImageView
これは理論上のものであり、追加するコードはありませんが、同じボタンを作成してUIControlStateTouchedに追加できるため、ボタン/画像に触れても変更はありません。