I am extracting data to my iphone application using xml. Then the xml value is placed in the variable.
variable example:
123 London road \n London \n England
Then the variable is set as a label.
I want line breaks to appear in the label, instead it prints \ n.
If I manually set the label value
locationLabel.text = @"123 London road \n London \n England"
It works the way I want.
Can anyone explain this?
source
share