/BlocksKit/MFMessageComposeViewController+BlocksKit.h
http://github.com/zwaldowski/BlocksKit · C++ Header · 30 lines · 4 code · 4 blank · 22 comment · 0 complexity · 28356bf864c17bbea91f996a46ba12fa MD5 · raw file
- //
- // MFMessageComposeViewController+BlocksKit.h
- // %PROJECT
- //
- #import "BKGlobals.h"
- /** 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 UIWebView is only available on iOS or in a Mac app using Chameleon.
- */
- @interface MFMessageComposeViewController (BlocksKit)
- /** The block fired on the dismissal of the SMS composition interface.
-
- This block callback is an analog for the
- messageComposeViewController:didFinishWithResult: method
- of MFMessageComposeViewControllerDelegate.
- */
- @property (nonatomic, copy) void(^completionBlock)(MFMessageComposeViewController *, MessageComposeResult);
- @end