Created
August 2, 2014 14:32
-
-
Save amannayak0007/6aeba4e4d2ebce60432a 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
NSURL *URL = [NSURL URLWithString: [self.url stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]]]; | |
NSString *html = [NSString stringWithContentsOfURL:URL encoding:NSUTF8StringEncoding error:nil]; | |
[self.webView loadHTMLString:html baseURL:Nil]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment