Does anyone know how to use line breaks in NSString? I need to do something like this -
[NSString stringWithFormat:@\"%@,\\n%@\", mystring1,mystring2];
\n\r seems working for me.
I am using Xcode 4.6 with IOS 6.0 as target. Tested on iPhone 4S. Try it by yourself.
Feng Chiu