When I add an HTML file in UIWebView I am not getting the ful size image. only a quarter of the image is getting displayed. my code is
-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
[webview loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"Ganesh" ofType:@"html"]isDirectory:NO]]];
webview.delegate=self;
}
The image is displayed as upside down. Can any one help me to fix this?
set the frame of
webviewaccording to theorientation.