Created
August 2, 2014 14:30
-
-
Save amannayak0007/802129d81cac32d3c19b to your computer and use it in GitHub Desktop.
detailView
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)viewDidLoad { | |
[super viewDidLoad]; | |
NSString *postTitle = [NSString stringWithFormat:@"<H1>%@</H1>", | |
post.title]; | |
NSString *html = [postTitle stringByAppendingString:post.description]; | |
[postBody loadHTMLString:html baseURL:nil]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment