<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NotificationCenter/MessageIdentifier/textMessageAvailabilityDidChange",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:So20NSNotificationCenterC10FoundationE17MessageIdentifierP0D2UIAbCE04BasedE0Vy_So30MFMessageComposeViewControllerCAFE04Textd21AvailabilityDidChangeD0VGRszrlE04textdmnO0AMvpZ"
  },
  "title" : "textMessageAvailabilityDidChange"
}
-->

# textMessageAvailabilityDidChange

Notification posted when text message availability changes.

```
static var textMessageAvailabilityDidChange: NotificationCenter.BaseMessageIdentifier<MFMessageComposeViewController.TextMessageAvailabilityDidChangeMessage> { get }
```

## Discussion

This notification is posted when the device’s ability to send text messages
changes (e.g., SIM card inserted/removed, airplane mode toggled, iMessage
account status changed).

> Note: This notification may be delivered on any thread.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)