Programming/Non programming

Sunday, March 28, 2010

iPhone:UIWebview to load URL:

iPhone:

How load URL in UIWebView

1. Create a UIWebView in I.B and link that with UIWebView declaration in code.
2. Call the below code in viewDidLoad (or) viewWillAppear

[myWebView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.google.com"]] ];

When you run this screen, it will pickup the URL and show in Webview.

Thank you for followers!

Cheers,

M.P.Prabakar
Senior Systems Analyst.


Have fun and be addictive by playing "TossRing" marvelous iPhone game. Link is below..

No comments:

Post a Comment