I display html in UITextView by:
[self.textView setValue:@\"Content\" forKey:@\"contentToHTMLString\"];,
After edit
For ios 7 use following code.
NSString *htmlString = @"Header
Subheader
Some text
";
NSAttributedString *attributedString = [[NSAttributedString alloc] initWithData:[htmlString dataUsingEncoding:NSUnicodeStringEncoding] options:@{ NSDocumentTypeDocumentAttribute: NSHTMLTextDocumentType } documentAttributes:nil error:nil];
textView.attributedText = attributedString;