• <tfoot id='dSNGP'></tfoot>

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

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

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

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

        如何从视图控制器中删除边距?

        How to remove margin from a viewController?(如何从视图控制器中删除边距?)
            <tbody id='USxgy'></tbody>
          <tfoot id='USxgy'></tfoot>
          <legend id='USxgy'><style id='USxgy'><dir id='USxgy'><q id='USxgy'></q></dir></style></legend>

            1. <small id='USxgy'></small><noframes id='USxgy'>

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

                  <bdo id='USxgy'></bdo><ul id='USxgy'></ul>
                • 本文介绍了如何从视图控制器中删除边距?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我使用情节提要创建了一个新项目.现在,我想在默认的 ViewController 中添加一个 UIView.当我尝试使用 AutoLayout 将约束添加到带有父 ViewController 的 UIView 时,它在前导和尾随空格处显示 -16 而不是 0.这使得 UIView 小于默认的 UIViewController 宽度.我怎么能删除这个?请帮忙.

                  I have created a new project using storyboard. Now, I want to add a UIView into the default ViewController. When I tried to add constraint using AutoLayout to the UIView with it's parent ViewController, it is showing -16 instead of 0 at both leading and trailing space. Which make the UIView smaller than the default UIViewController width. How could I remove this? Please help.

                  推荐答案

                  只需删除对边距选项的约束..

                  just remove constraints to margin option ..

                  这篇关于如何从视图控制器中删除边距?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  iOS AutoLayout - get frame size width(iOS AutoLayout - 获取帧大小宽度)
                  Auto layout constraints issue on iOS7 in UITableViewCell(UITableViewCell中iOS7上的自动布局约束问题)
                  How to resize superview to fit all subviews with autolayout?(如何调整超级视图的大小以适应所有具有自动布局的子视图?)
                  Springs in Auto Layout: Distribute views evenly, with constraints, in Xcode 5(自动布局中的弹簧:在 Xcode 5 中使用约束均匀分布视图)
                  reloadData() of UITableView with Dynamic cell heights causes jumpy scrolling(具有动态单元格高度的 UITableView 的 reloadData() 导致跳跃滚动)
                  What is NSLayoutConstraint quot;UIView-Encapsulated-Layout-Heightquot; and how should I go about forcing it to recalculate cleanly?(什么是 NSLayoutConstraint“UIView-Encapsulated-Layout-Height?我应该如何强制它干净地重新计算?) - IT屋-程序员

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