Last active
January 4, 2016 02:49
-
-
Save penumbrasoftware/8557146 to your computer and use it in GitHub Desktop.
Display A Web View 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
//.h file | |
@property (nonatomic, strong) IBOutlet UIWebView *webView; |
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
//.m file | |
@synthesize webView; | |
NSURL *url = [NSURL URLWithString:@"http:///www.google.com"]; NSURLRequest *request = [NSURLRequest requestWithURL:url]; | |
[webView loadRequest:request]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment