Skip to content

Instantly share code, notes, and snippets.

View MonsieurDart's full-sized avatar

Mathieu Godart MonsieurDart

View GitHub Profile
@MonsieurDart
MonsieurDart / MFMailComposeViewController+URLRequest.h
Created January 20, 2011 15:46 — forked from futuretap/WebViewController.m
Intercept mailto URLs in a UIWebView and send them to a MFMailComposeViewController
#import <Foundation/Foundation.h>
#import <MessageUI/MessageUI.h>
@interface NSURL (MailComposeViewController)
// Is the given request a mailto URL.
- (BOOL)isMailtoRequest;
@end