• <i id='Y9E0l'><tr id='Y9E0l'><dt id='Y9E0l'><q id='Y9E0l'><span id='Y9E0l'><b id='Y9E0l'><form id='Y9E0l'><ins id='Y9E0l'></ins><ul id='Y9E0l'></ul><sub id='Y9E0l'></sub></form><legend id='Y9E0l'></legend><bdo id='Y9E0l'><pre id='Y9E0l'><center id='Y9E0l'></center></pre></bdo></b><th id='Y9E0l'></th></span></q></dt></tr></i><div id='Y9E0l'><tfoot id='Y9E0l'></tfoot><dl id='Y9E0l'><fieldset id='Y9E0l'></fieldset></dl></div>
    <legend id='Y9E0l'><style id='Y9E0l'><dir id='Y9E0l'><q id='Y9E0l'></q></dir></style></legend>

        <small id='Y9E0l'></small><noframes id='Y9E0l'>

          <bdo id='Y9E0l'></bdo><ul id='Y9E0l'></ul>
      1. <tfoot id='Y9E0l'></tfoot>

        iOS 使用因 iPhone 尺寸之间的特征而异

        时间:2023-09-09
        <tfoot id='aFokN'></tfoot>

        <i id='aFokN'><tr id='aFokN'><dt id='aFokN'><q id='aFokN'><span id='aFokN'><b id='aFokN'><form id='aFokN'><ins id='aFokN'></ins><ul id='aFokN'></ul><sub id='aFokN'></sub></form><legend id='aFokN'></legend><bdo id='aFokN'><pre id='aFokN'><center id='aFokN'></center></pre></bdo></b><th id='aFokN'></th></span></q></dt></tr></i><div id='aFokN'><tfoot id='aFokN'></tfoot><dl id='aFokN'><fieldset id='aFokN'></fieldset></dl></div>
      2. <legend id='aFokN'><style id='aFokN'><dir id='aFokN'><q id='aFokN'></q></dir></style></legend>
          <tbody id='aFokN'></tbody>
            <bdo id='aFokN'></bdo><ul id='aFokN'></ul>
              1. <small id='aFokN'></small><noframes id='aFokN'>

                1. 本文介绍了iOS 使用因 iPhone 尺寸之间的特征而异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有一个按钮,我想根据所使用的 iPhone 设置不同的宽度.显然 7 Plus 的宽度更大,而线下的宽度更小.我单击按钮,单击 Vary for Traits,选择 Height,更改每个 iPhone 的约束,然后单击 Done Varying 并构建,但无论我在哪个设备上运行它,它始终保留我最后编辑的约束.

                  I have a button that I want to be different widths depending on which kind of iPhone is being used. Obviously a larger width for the 7 Plus, and smaller on down the line. I click the button, click Vary for Traits, choose Height, change constraints for each iPhone, then click Done Varying and build, but it always keeps whatever the last constraint I edited was, no matter which device I run it on.

                  推荐答案

                  Vary For Traits 与不同的 iPhone 尺寸无关.所有 iPhone(纵向)都具有相同的特征;没有什么可改变的.

                  Vary For Traits has nothing to do with different iPhone sizes. All iPhones (in portrait) have identical traits; there is nothing to vary.

                  这篇关于iOS 使用因 iPhone 尺寸之间的特征而异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:以编程方式添加时,rightAnchor 约束不适用 - swift 下一篇:我希望两个按钮具有相同的宽度并使用自动布局从屏幕顶部按比例在所有屏幕尺寸中定位自己?

                  相关文章

                    <bdo id='vQhQ6'></bdo><ul id='vQhQ6'></ul>
                2. <i id='vQhQ6'><tr id='vQhQ6'><dt id='vQhQ6'><q id='vQhQ6'><span id='vQhQ6'><b id='vQhQ6'><form id='vQhQ6'><ins id='vQhQ6'></ins><ul id='vQhQ6'></ul><sub id='vQhQ6'></sub></form><legend id='vQhQ6'></legend><bdo id='vQhQ6'><pre id='vQhQ6'><center id='vQhQ6'></center></pre></bdo></b><th id='vQhQ6'></th></span></q></dt></tr></i><div id='vQhQ6'><tfoot id='vQhQ6'></tfoot><dl id='vQhQ6'><fieldset id='vQhQ6'></fieldset></dl></div>

                  <small id='vQhQ6'></small><noframes id='vQhQ6'>

                  <tfoot id='vQhQ6'></tfoot>

                    1. <legend id='vQhQ6'><style id='vQhQ6'><dir id='vQhQ6'><q id='vQhQ6'></q></dir></style></legend>