Loading Iframe with fixed height and width into UIWebview

Viewed 686

i have a webpage in server, its content can be loaded into UIWebView,

     NSString* htmlContent = [self getHTMLContentFromUrl:httpUrl];

    [self.myWebView loadHTMLString:content
                       baseURL:nil];

The problem is that if webpage has an iframe with specified height and width(appiled either through style or attributes),

when loaded into the webview, the iframe was not displayed in specified height and width,

means only by scrolling webview it is possible to see the entire content of iframe, but the need is to limit the height and width of the iframe so that it fits with in the webview size.

can't the UiWebView realize the iframe height and width? or is there is another way to achieve the same?

please help...

0 Answers
Related