Hi,
How to create pages and display in UIwebView from HTML file?
How to calculate and draw the amount of text from HTLM file. pls suggest?
Hi,
How to create pages and display in UIwebView from HTML file?
How to calculate and draw the amount of text from HTLM file. pls suggest?
Create a NSURLRequest and load it into the view. The view takes care of displaying the html automatically. Note that you can get URL can be local, on a website, on a server as php, anything. I don't understand the second question. Please reframe it. 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];