Declared in MFMessageComposeViewController+BlocksKit.h

Overview

MFMessageComposeViewController with block callback in addition to delegation.

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

Created by Igor Evsukov and contributed to BlocksKit.

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

Tasks

Properties

bk_completionBlock

@property (nonatomic, copy, setter=bk_setCompletionBlock:) void ( ^ ) ( MFMessageComposeViewController *controller , MessageComposeResult result ) bk_completionBlock
Discussion

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

This block callback is an analog for the messageComposeViewController:didFinishWithResult: method of MFMessageComposeViewControllerDelegate.

Declared In

MFMessageComposeViewController+BlocksKit.h