Global Variable

MFMessageComposeViewControllerTextMessageAvailabilityKey

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

Declaration

let MFMessageComposeViewControllerTextMessageAvailabilityKey: String

Discussion

This value matches the result of the canSendText() class method.The userInfo dictionary for the MFMessageComposeViewControllerTextMessageAvailabilityDidChange notification includes this key. The value of this key is an NSNumber object that contains a Boolean value. This value matches the result of the canSendText() class method.

See Also

Handling Notifications