Created
December 26, 2013 11:29
-
-
Save JKetelaar/8132613 to your computer and use it in GitHub Desktop.
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
#import "SSScreenShot.h" | |
@implementation SSScreenShot | |
- (id)init | |
{ | |
if (self == [super init]) { | |
self.webView = [UIWebView new]; | |
self.webView.delegate = self; | |
NSURL *url = [NSURL URLWithString:@"http://www.google.com"]; | |
NSURLRequest *request = [NSURLRequest requestWithURL:url]; | |
[self.webView loadRequest:request]; | |
} | |
return self; | |
} | |
- (void)webViewDidStartLoad:(UIWebView *)webView | |
{ | |
NSLog(@"LOAD"); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment