How to calculate the size of HTML text to be drawn
1 answer
Create NSURLRequest and load it into view. The view takes care of rendering the html automatically. Note that the url can be local, on a website, on a server, like php, whatever. I don't understand the second question. Please redefine this. Thanks.
// Request the contents of the abtWebView
NSURLRequest * request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.whatever.com/aDirectory/stuff.html"]];
// Load the webview
[self.theWebView loadRequest:request];
0
a source to share