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 sample code:

```
    UILabel *lblUsername=[[UILabel alloc] init];
    StoryTextSize = [storytext sizeWithFont:[UIFont fontWithName:@"Georgia" size:13.0f] constrainedToSize:CGSizeMake(300, MAXFLOAT) lineBreakMode:NSLineBreakByWordWrapping];
    lblUsername.frame=CGRectMake(20, 5, [[UIScreen mainScreen] bounds].size.width-40, StoryTextSize.height);
    lblUsername.textColor=[UIColor blackColor];
    lblUsername.text=[NSString stringWithFormat:@"%@",[[tblRecords objectAtIndex:indexPath.row] valueForKey:@"username"]];
    lblStoryText.numberOfLines=nooflines;
    lblStoryText.backgroundColor=[UIColor clearColor];
    [self.view addSubview:lblStoryText];

```

make sure that your label height should be more so total no of lines become visible.