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.
Xode が特定のフレーム内で UIview のサイズを自動的に変更して配置することは可能ですか? アニメでやってほしい。私はこれを手動で行うことができ、もちろんアニメーションでフレームを変更するだけですが、これが唯一の方法ですか?
http://imgur.com/TfEem
さまざまな条件でいくつかのビューを非表示/表示する場合は、コードを使用してそれを行う必要があります。ただし、特定のフレーム内で UIView を自動的にサイズ変更して配置するのに Xcode を使用したい場合は、Xcode のサイズ インスペクター -> 制約でこれを試すことができます。