search

Home  >  Q&A  >  body text

objective-c - lable 超过N行,显示...查看全部,点击查看全部,显示全部

RT

有人了解怎么做吗,ios 原生的

仅有的幸福仅有的幸福2757 days ago653

reply all(2)I'll reply

  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-02 09:37:11

    Does anyone know? I beg you

    reply
    0
  • 漂亮男人

    漂亮男人2017-05-02 09:37:11

    UILabel has an attribute that displays...,
    The first step is to use a string to concatenate your string + "show all"
    The second step is to display more than N lines, and it is displayed as..., followed by For "Show All"
    The third step is to add a click gesture and change the spliced ​​data to your data with one click.

    reply
    0
  • Cancelreply