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

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

      带有按钮图像的 Xcode 6 约束

      时间:2023-09-09

          <bdo id='su9lE'></bdo><ul id='su9lE'></ul>

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

              • <small id='su9lE'></small><noframes id='su9lE'>

              • <tfoot id='su9lE'></tfoot>
                  <tbody id='su9lE'></tbody>
              • 本文介绍了带有按钮图像的 Xcode 6 约束的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我正在创建一个应用程序,它有一个包含 11 个图像的仪表板..

                I am creating an app that have a dashboard with 11 images..

                1 是背景,1 是分隔按钮的线条,9 是带有图像的按钮.

                1 is the background, 1 are the lines that divide the button and 9 are the button with images.

                我尝试了几次自动约束分配,但我也手动尝试过,但我无法弄清楚如何正确设置约束.我也跟着很多教程.如果你看下面的图片,你会发现特别是 iPhone 4 中的按钮/图片很奇怪!

                I tried several times with the automatic constraints assignment but I also tried manually and I can't figure it out how to setup the constraints correctly. I followed also a lot of tutorial. If you watch the image below, you can see that the button/images especially in the iPhone 4 are weird!

                推荐答案

                你必须采取一个包含按钮的视图....之后只需按照下图设置视图约束...您有 9 个图像...我刚刚给你演示了 7 个按钮

                you have to take a view which contains a button....after that just follow the below image for set up view constraints...You have 9 images ...I just gave you demo with 7 buttons

                对于按钮,只有 4 个约束...我设置了一个...您只需要遵循所有按钮...

                and for button there is just 4 constraints...I setup for one...you just need to follow for all buttons...

                这是结果图像...

                这篇关于带有按钮图像的 Xcode 6 约束的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:UITableViewCell 标签显示有很少的上滑动画 下一篇:在哪里添加 topLayoutGuide 约束代码

                相关文章

                <legend id='k3gpu'><style id='k3gpu'><dir id='k3gpu'><q id='k3gpu'></q></dir></style></legend>
                  <bdo id='k3gpu'></bdo><ul id='k3gpu'></ul>

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

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

                  1. <tfoot id='k3gpu'></tfoot>