tags:

views:

94

answers:

2

Hi, i have coded like that..but cant get output..

  label.text = @"hai\nyou";

but the output is hai you...i want...hai and than "you" must be in nextline

+2  A: 

Try to set the "# of Lines" to 0 and let me know if it works.

Or, if you are typing in the little box in IB use option-return to insert a line feed (\n).

Frankie
i could not understand
Mikhail Naimy
+3  A: 
...
label.text = @"hai\nyou";
label.numberOfLines = 0;
ahmet emrah