Reputation:
I have coded like that, but can't get output:
label.text = @"hai\nyou";
but the output is hai you
. I want: hai
and then you
must be in the next line.
Upvotes: 0
Views: 311
Reputation: 25165
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).
Upvotes: 2