
How to load website url in UIWebview? Tell me code for UIWebview load url of a website
Thanks

Hi,
Following code can be used:
//Load web view data NSString *strWebsiteUlr = [NSString stringWithFormat:@"http://www.roseindia.net"]; // Load URL //Create a URL object. NSURL *url = [NSURL URLWithString:strWebsiteUlr]; //URL Requst Object NSURLRequest *requestObj = [NSURLRequest requestWithURL:url]; //Load the request in the UIWebView. [webView loadRequest:requestObj];
Thanks