I'm storing text in a sqlite file and setting the text of a UITextView to be the value of that text. The only problem is that the UITextView isn't honoring the newline character. Instead, it's printing it out as text. Here's an example:
Stored in fruit.sqlite and passed to theFruit object:
requiredFruit = "apples\n oranges\n pears"
NSString *theFruit = [NSString stringWithFormat:@"%@", theFruit.requiredFruit];
generalOutlet.text = theFruit;
It Displays apples\n oranges\n pears
but I want it to display
- apples
- oranges
- pears