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.
UIStackView を使用してグリッドを作成しようとしていますが、1 つの問題を想定してそれを行うことができます。完全な正方形にすることはできません。アスペクト比の制約を設定するたびに、競合する制約が発生します。
グリッドは 5✕7
各行を UIStackView に埋め込んでから、すべての行を外側の UIStackView に埋め込んでいますが、うまくいかないようです。
それを行う最良の方法は何ですか?