Reputation: 337
I am trying to figure out with UITextView. I use this line to show newsStory.text in my UITextView.
NSLog(@"%@", newsStory.text);
[newsStory setValue:newsStory.text forKey:@"contentToHTMLString" ];
In NSLog encoding is Ok
But when i am running the app, i see not-understandable symbols:
How to solve this problem?
Upvotes: 0
Views: 242
Reputation: 9006
I'm aware of two ways of doing this properly:
NSAttributedString
with https://github.com/Cocoanetics/DTCoreText and then use NSAttributedString
with UITextView
Upvotes: 1