Declared in MFMailComposeViewController+BlocksKit.h

Overview

MFMailComposeViewController with block callbacks.

If you provide a completion handler to an instance of MFMailComposeViewController but do not implement a delegate callback for mailComposeController:didFinishWithResult:error:, the mail compose view controller will automatically be dismissed if it was launched modally.

Created by Igor Evsukov and contributed to BlocksKit.

Warning: MFMailComposeViewController is only available on a platform with MessageUI.

Tasks

Properties

bk_completionBlock

The block fired on the dismissal of the mail composition interface.

@property (nonatomic, copy, setter=bk_setCompletionBlock:) void ( ^ ) ( MFMailComposeViewController *controller , MFMailComposeResult result , NSError *error ) bk_completionBlock

Discussion

The block fired on the dismissal of the mail composition interface.

This block callback is an analog for the mailComposeController:didFinishWithResult:error:method of MFMailComposeViewControllerDelegate.

Declared In

MFMailComposeViewController+BlocksKit.h