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.
4 つの UIview (重複していない) があり、1 つがアクティブで、3 つが有効になっていません。有効になっていない 3 つのビューの 1 つをタッチでアクティブに設定したいのですが、touchesBegan: と思ったのですが、うまくいきません。何か案は?これは uiwebviews でも機能しますか?
アクティブとはどういう意味かよくわかりませんが、 touchesBegan を使用して 1 つの UIView を有効にし、別の UIView を無効にすることに問題はありません。コードを投稿できますか?