I'm new in iOS and facing issue regarding to set the width and height of UILabel. There are many answer on this question but nothing help me.
As in the image both label get overlap. I need that the below label according to upper label text. How to do that I also try AutoLayout and I 'm using code like this
I need to set the UILabel Height Auto according to text. like this
[lblSiteName setNumberOfLines:0];
[lblSiteName sizeToFit];
I'm using .XIB .How to do this. Thanks in Advance!