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.
UIViewController 上のオブジェクトの順序 (配置) を変更して、あるものをクリックすると前面に表示され、別のものをクリックすると前面に表示されるようにする必要があります。これは可能ですか?
もちろん。親で、UIView メソッドの BringSubviewToFront: を呼び出します。より複雑な並べ替えのための exchangeSubviewAtIndex:withSubviewAtIndex: もあります。