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

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

      1. 在 Swift 中将字体大小更改为 25 时标签消失

        时间:2023-09-10
        <legend id='NVUT6'><style id='NVUT6'><dir id='NVUT6'><q id='NVUT6'></q></dir></style></legend>
          <tbody id='NVUT6'></tbody>
            <i id='NVUT6'><tr id='NVUT6'><dt id='NVUT6'><q id='NVUT6'><span id='NVUT6'><b id='NVUT6'><form id='NVUT6'><ins id='NVUT6'></ins><ul id='NVUT6'></ul><sub id='NVUT6'></sub></form><legend id='NVUT6'></legend><bdo id='NVUT6'><pre id='NVUT6'><center id='NVUT6'></center></pre></bdo></b><th id='NVUT6'></th></span></q></dt></tr></i><div id='NVUT6'><tfoot id='NVUT6'></tfoot><dl id='NVUT6'><fieldset id='NVUT6'></fieldset></dl></div>
            • <bdo id='NVUT6'></bdo><ul id='NVUT6'></ul>

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

              1. <tfoot id='NVUT6'></tfoot>
                  本文介绍了在 Swift 中将字体大小更改为 25 时标签消失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有一个表格视图和里面的两个标签.第二个标签(描述标签)有数百行.当我将描述标签的字体大小设置为 21 时,它正在工作.当我将字体大小更改为 25 时,为什么描述标签会消失?如何解决?我还设置了自动调整单元格高度以增加尺寸.

                  描述标签属性检查器另外代码截图是

                  尺寸为 25 时消失标签的图像

                  标签仅在框架低于 8000 时显示文本,并且不显示更多文本.

                  对于较低的标签设置这个.

                  并且在属性检查器中将两个标签的 lines 设置为 0.并请实现索引行的高度和估计的高度 tableview 代表.

                  I have a table view and two labels inside it. The second label(description label) has Hundreds of line. when I set font size of description label to 21 it's working. Why description label goes to dissappear when I am changing font size to 25? How to resolve it? I have also set auto resize cell height for increase size.

                  description label attribute inspector alse code screenshot is

                  image for disappear label when size is 25

                  label only show text when frame is under 8000 and for more text is not showing.

                  github link for problem

                  解决方案

                  @dineshsharma.. Lets try this one and let me know if you are still facing the problem. This is for top label.

                  And for lower label set this.

                  And in attribute inspector set lines to 0 for both labels. And please implement height for row at index and estimated height tableview delegates.

                  这篇关于在 Swift 中将字体大小更改为 25 时标签消失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:UILabel 在 UIView 内没有动画,使用了自动布局 下一篇:Xamarin iOS Autolayout:自动调整各种设备的宽度和垂直滚动,同时保持禁用水平滚动

                  相关文章

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

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