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.
NIB からロードされている UIImageView があります。タップを処理するためにジェスチャ認識機能を接続しましたが、アプリを実行してもタップが検出されません。
userInteractionEnabled プロパティを YES に設定する必要があります。デフォルトでは NO です。[Attributes Inspector] ペインで [User Interaction Enabled] をオンにして NIB に設定するか、UIImageView で userInteractionEnabled プロパティを設定して、NIB が読み込まれた後にプログラムで設定できます。