Making UIButton Wrap Following a UILabel

We have a multi-line text-wrapping UILabel with some text in it. At the end of the label we want to always place a UIButton as shown.

What's the simplest way to implement this? The text in the button must not break ie the button must flow on to the next line as a unit if there isn't enough space.


使用具有非中断空格的属性字符串(“ u {00a0}”)可以工作。

链接地址: http://www.djcxy.com/p/28228.html

上一篇: CR LF,LF和CR换行符类型之间的区别?

下一篇: 使用UILabel制作UIButton Wrap