I want to add a UIButton
at the end of a sentence in UIView
.
Presently I have a UILabel
to display text and a button next to it. Both are subviews to UIView
. I get the desired o/p if the sentence spans to 2 lines.
How should I modify it, for it to work properly even if the text changes to 3 or 4 lines given that I cannot change the size of the UIView
or the UILabel
?