load htmlstring in UIwebview

Here is the code for the load htmlstring in UIwebview
write the following code in your viewDidLoad method

UIWebView *wv = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, 320, 460)];
    [wv loadHTMLString:@"<html><body><a href='http://development-iphone-app.blogspot.com'>Click Me</a></body></html>" baseURL:nil];
    [self.view addSubview:wv];

2 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

5 Steps to Keep Your Remote Workers Happy. Virtual employees offer companies a big advantage in today's race to hire qualified talent.

Post a Comment

Powered by Blogger.
Twitter Delicious Facebook Digg Stumbleupon Favorites More