fit text inside the webview

In Web view there are some text which does not fit into the screen
Here is the code make the text fir with in the webview
UIWebView *wv = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, 320, 460)];
    [wv loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://development-iphone-app.blogspot.com"]]];
    wv.scalesPageToFit = YES;  // This property will fit the content of the webview in the screen
    [self.view addSubview:wv];

1 comments:

Thanks for sharing as it is an excellent post would love to read your future post
-------------------------------------------------------------------------------
iPhone App Development :: && ::Mobile and Web Application Development

Post a Comment

Powered by Blogger.
Twitter Delicious Facebook Digg Stumbleupon Favorites More