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

      <legend id='KmSzY'><style id='KmSzY'><dir id='KmSzY'><q id='KmSzY'></q></dir></style></legend>

      1. 我想将表格视图精确放置到导航栏

        时间:2023-09-11

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

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

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

                <tfoot id='OCOPy'></tfoot>
                  <tbody id='OCOPy'></tbody>
                • <legend id='OCOPy'><style id='OCOPy'><dir id='OCOPy'><q id='OCOPy'></q></dir></style></legend>

                  本文介绍了我想将表格视图精确放置到导航栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  请查看虚线框区域,这是导航栏和导航栏之间出现的额外空间表格视图.

                  Please see the dashed-box area, this is extra space appearing between navigation bar & table view.

                  我已经尝试了 3 件事,但同样的问题.
                  1.清除所有约束&添加缺少的约束"
                  2.我用过pin,&与表格视图上方的 UI 对象保持0"距离
                  3.我用过拖拽的方法,&设置表格视图的垂直间距.

                  I've tried 3 things but same problem.
                  1. Cleared all constrains & "Add missing constrains"
                  2. I've used pin, & keep '0' distance to UI object above table view
                  3. I've used dragging method, & set vertical spacing for table view.

                  推荐答案

                  你需要取消勾选 attribute inspector Adjust Scroll View Insets 使用 storyboard 见下图.

                  You nee to uncheck the property inside attribute inspector Adjust Scroll View Insets using storyboard see image below.

                  调整滚动视图插图:定义一个布尔值,指示视图控制器是否应自动调整其滚动视图插图.

                  Adjust Scroll View Insets: Defines a Boolean value that indicates whether the view controller should automatically adjust its scroll view insets.

                  此属性的默认值为 true,它让容器视图控制器知道他们应该调整此视图控制器视图的滚动视图插图,以考虑状态栏、搜索栏、导航栏、工具栏所占用的屏幕区域,或标签栏.如果您的视图控制器实现管理自己的滚动视图插图调整,请将此属性设置为 false.

                  The default value of this property is true, which lets container view controllers know that they should adjust the scroll view insets of this view controller’s view to account for screen areas consumed by a status bar, search bar, navigation bar, toolbar, or tab bar. Set this property to false if your view controller implementation manages its own scroll view inset adjustments.

                  这篇关于我想将表格视图精确放置到导航栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:即使有足够的空间可用于单词,UILabel 自动换行功能也会留下空间 下一篇:如何防止 AutoLayout 重置视图框架?

                  相关文章

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

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

                    <tfoot id='vT1jl'></tfoot>

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