Newline in string

I have this:

display.newText( “ksdfhksdj \n jahkjash”, 0, 0, native.systemFontBold, 22 )    

\n makes a newline in Android but in iOS it doesn’t work. In simulator the text is all in one line and in the phone there is no text at all.

How should i make new line that would work on both platforms?

-ISO

We only process newlines when display.newText() is in multi-line mode.  You need to specify a total width for the string so we know where to start wrapping.  In that case, newline’s will be handled as expected.

Rob

We only process newlines when display.newText() is in multi-line mode.  You need to specify a total width for the string so we know where to start wrapping.  In that case, newline’s will be handled as expected.

Rob