I have been trying to get this setup so that I can this pass it to a MailComposer to email the content from mywebview. I found a blog that said to use this
However, it doesn't say where to implement this at, or how/where to declare it. In the view controller I have this code currently running for the webview.
I'd Like to be able to set up an emailcomposer sheet so that I could email the contents of this from the app, and I don't know if I'm missing something simple, or if I need to completely rewrite the webview part of the code and where to put the code for getting the current url from the webview. Thanks
Code:
NSString *currentURL
= myWebView.request.URL.absoluteString;
Code:
- (void)awakeFromNib
{
[sermons loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://theipadpreacher.wordpress.com"]]];
timer = [NSTimer scheduledTimerWithTimeInterval:(1.0/2.0) target:self selector:@selector(tick) userInfo:nil repeats:YES];
}