Skip to content

Instantly share code, notes, and snippets.

@JKetelaar
Created December 26, 2013 11:29
Show Gist options
  • Save JKetelaar/8132613 to your computer and use it in GitHub Desktop.
Save JKetelaar/8132613 to your computer and use it in GitHub Desktop.
#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