iOS Making a URL request


Example

Load content in webview from the url

Swift

webview.loadRequest(NSURLRequest(URL: NSURL(string: "http://www.google.com")!))

Objective-C

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