Last active
December 19, 2015 05:09
-
-
Save scottsappen/5901902 to your computer and use it in GitHub Desktop.
Simple URL connection in iOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSString *urlAddress = @"http your url goes here"; | |
//Create a URL object. | |
NSURL *url = [NSURL URLWithString:urlAddress]; | |
//URL Requst Object | |
NSURLRequest *requestObj = [NSURLRequest requestWithURL:url]; | |
//Load the request in the UIWebView. | |
[_aboutWebView loadRequest:requestObj]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment