Question: Any way to have multiple lines of text in UILabel ?

I dont wish to more than 1 label in the view.

How to add multiple lines in a single UILabel??

Answer: 
Yes there is a way. Just you need to add two property of `UILabel` i.e. 

1. `NumberOfLines=0` It'll allow you to add multiple lines in a `UILabel`
2. `LineBreakMode = NSLineBreakByWordWrapping` It'll allow you to break your sentence by word. You can also change it according to your requirement. 

```
[YourLabel setNumberOfLines:0];
[YourLabel setLineBreakMode:NSLineBreakByWordWrapping];

```

You can also set this two property form your interface builder 

![enter image description here](https://i.stack.imgur.com/or32R.png)

![enter image description here](https://i.stack.imgur.com/VmiQY.png)
here is a sample code

```
    UILabel  *pHolder1 = [[UILabel alloc]initWithFrame:CGRectMake(5, 0, 245, 45)];
    pHolder1.backgroundColor = [UIColor clearColor];
    pHolder1.font = [UIFont systemFontOfSize:14.0f];
    pHolder1.numberOfLines =0;
    pHolder1.lineBreakMode = NSLineBreakByWordWrapping;
    pHolder1.textAlignment = NSTextAlignmentCenter;

```

Dynamically calculate the height of UILabel
please refer the below post
[Adjust UILabel height depending on the text](https://stackoverflow.com/questions/446405/adjust-uilabel-height-depending-on-the-text)