My app generates a random word when a button is pressed. I am using the following code in a switch...
result.text then outputs to a text box.
I'm looking for a way to insert a line break into the result.text line. For example, I would like my text box to show the words "One" and "Two" on two separate lines. I was thinking something similar to result.text = @"One /n Two";. Any ideas?
Thank you!
case 0:
result.text = @"One";
break;
result.text then outputs to a text box.
I'm looking for a way to insert a line break into the result.text line. For example, I would like my text box to show the words "One" and "Two" on two separate lines. I was thinking something similar to result.text = @"One /n Two";. Any ideas?
Thank you!