Question: I did by code the following:

```
UILabel  * label = [[UILabel alloc] initWithFrame:CGRectMake(40, 70, 300, 50)];
    label.backgroundColor = [UIColor clearColor];
    label.textAlignment = UITextAlignmentCenter; // UITextAlignmentCenter, UITextAlignmentLeft
    label.textColor=[UIColor whiteColor];
    label.text = @"Telechargez et consultez les catalogues et les tarifs de la gamme Audi au format PDF";
    [self.view addSubview:label];

```

And it looks like [this](http://i56.tinypic.com/2w2oig9.png)
but I want it to look like [this](http://i51.tinypic.com/fxux50.png). How to change the label's properties?

Answer: 
To show the UILable as your displayed in your image, you need to set the following property of [UILabel](http://developer.apple.com/library/ios/#documentation/uikit/reference/UILabel_Class/Reference/UILabel.html#jumpTo_9) and also increase the height of your Label.

```
@property(nonatomic) NSInteger numberOfLines;
@property(nonatomic) UILineBreakMode lineBreakMode;

```

Should be like as below .. 

```
    UILabel  * label = [[UILabel alloc] initWithFrame:CGRectMake(40, 70, 300, 100)];
     .................................
    label.numberOfLines=0;
    label.lineBreakMode=UILineBreakModeCharacterWrap;
    ............................

```
if you know the number of line i.e if number of Line is 3 then you can write

```
label.numberOfLines=3;
label.lineBreakMode=UILineBreakModeCharacterWrap;

```

and if u don't know the exact line for label then you can write

```
label.numberOfLines=0;
label.lineBreakMode=UILineBreakModeCharacterWrap;

```