I have a small UIWebView which i want to scale so it shows a sort of preview like view of the web page - a bit like the top sites view in desktop safari.
Heres my code:
and heres the current result:
![]()
anyone know how to resolve this?
Thanks
Heres my code:
Code:
UIWebView *webPage = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, 100, 120)];
NSURL *pageURL = [[NSURL alloc] initWithString:@"http://www.google.com/"];
[webPage loadRequest:[NSURLRequest requestWithURL:pageURL]];
webPage.userInteractionEnabled = NO;
webPage.scalesPageToFit = YES;
and heres the current result:

anyone know how to resolve this?
Thanks