---
title: textMessageAvailabilityDidChange
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/notificationcenter/messageidentifier/textmessageavailabilitydidchange
---

# textMessageAvailabilityDidChange

Notification posted when text message availability changes.

## Declaration

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

## Discussion

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.
