I have a UILabel, I want check no of lines at run time based on the text I display in label.
Some times I have to display short text and some time very long string. In very long text I have to display "read more" button but in short string only the I have to display string. How to achieve this.
I have to display normally 3 lines but if it goes more than 3 lines then I need to display "read more button"
Thanks
Some times I have to display short text and some time very long string. In very long text I have to display "read more" button but in short string only the I have to display string. How to achieve this.
I have to display normally 3 lines but if it goes more than 3 lines then I need to display "read more button"
Thanks