Type Property


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


static let MFMessageComposeViewControllerTextMessageAvailabilityDidChange: NSNotification.Name


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

let MFMessageComposeViewControllerTextMessageAvailabilityKey: String

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