views:

9

answers:

0

I'm storing a list of things in one string stored in a core data database. For example.. the stored string would look like @"apple \n pear \n orange". I'm using a UITextView to display the list and I want it to display like:

  • apple
  • pear
  • orange

..but it just displays: apple \n pear \n orange

Anyone know how to get it to honor the newline characters? I'm setting the UITextView's text just like this. list is equal to "apple \n pear \n orange"

myTextView.text = fruits.list;