Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

junmoney83

macrumors newbie
Original poster
Mar 3, 2010
20
0
i want to call one website which name is "http://google.co.kr"

and i called site by webview controller.

i want to zoom website.
i heared i can do it if i use scalesPageToFit.
but it does't work.

below is my code.

Code:
- (void)applicationDidFinishLaunching:(UIApplication *)application {    
    
    // Override point for customization after app launch    

	wevView2.scalesPageToFit = YES;
	[window makeKeyAndVisible];
	NSURL *url = [NSURL URLWithString:@"http://google.co.kr"];

	NSURLRequest *request = [NSURLRequest requestWithURL:url];
	wevView2.scalesPageToFit = YES;
	[wevView2 loadRequest:request];
	wevView2.scalesPageToFit = YES;
	
}
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.