I have a UIWebView in my application and I load a html string to that page and display, but it does not scale properly as when I load a web page from URL, How to enable scaling of my local html page.does it require to be a complex large html page. I have set the setScalesPageToFit to YES.
Code:
NSString *htmlText = "<html><script type="text/javascript" src=""></script><head><title>Tharindu</title>...............</html>";
[webView loadHTMLWithString: htmlText baseURL:nil];
[webView setScalesPageToFit:YES];