Global Variable

MFMessageComposeViewControllerTextMessageAvailabilityDidChangeNotification

Posted when the value returned by the canSendText class method has changed.

Declaration

NSString *const MFMessageComposeViewControllerTextMessageAvailabilityDidChangeNotification;

Discussion

Upon receiving this notification, query its userInfo dictionary with the MFMessageComposeViewControllerTextMessageAvailabilityKey key. If the availability of text message sending has changed, your app should invalidate caches and update its user interface as appropriate.

See Also

Handling Notifications

MFMessageComposeViewControllerTextMessageAvailabilityKey

The value of this key is a number object that contains a Boolean value.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software