In app settings, sometimes you want multiple lines in a label so you can have separators (e.g. horizontal line) or short descriptions (so the user doesn't have to go somewhere else for crucial info).
In the simulator, newlines in a settings string are displayed as you would expect. In iOS, newlines are converted to spaces (apparently), so everything gets jumbled on to one line. I don't know what happens with Android.
I've seen this happen with popular apps (over 100k downloads) -- descriptive text that's obviously supposed to be on separate lines gets merged into one line, making it almost unreadable.
The workaround I've found is to insert non-breaking unicode spaces or horizontal lines, so the following text will wrap. The problem with this is if you insert too many, the settings page will scroll horizontally, which is annoying. If you insert too little, the following text won't wrap. And of course it won't work consistently across phones with different screen sizes and fonts.
It would also be nice to have a more accurate simulation of what the user will see on the settings page, rather than having to upload the app to preview the settings, but I'm guessing that's not feasible.
Thanks for reading!