Does anyone know how to use line breaks in NSString? I need to do something like this -
[NSString stringWithFormat:@\"%@,\\n%@\", mystring1,mystring2];
In Swift 3, its much simpler
let stringA = "Terms and Conditions" let stringB = "Please read the instructions" yourlabel.text = "\(stringA)\n\(stringB)"
or if you are using a textView
yourtextView.text = "\(stringA)\n\(stringB)"