<!--
{
  "availability" : [
    "iOS: 26.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AccessoryNotifications",
  "identifier" : "/documentation/AccessoryNotifications/AlertingContext/notificationCanAlert",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Accessory Notifications"
    ],
    "preciseIdentifier" : "s:22AccessoryNotifications15AlertingContextV20notificationCanAlertSbvp"
  },
  "title" : "notificationCanAlert"
}
-->

# notificationCanAlert

A Boolean value that indicates whether the accessory can alert the person for the notification.

```
var notificationCanAlert: Bool
```

## Discussion

A `true` value indicates that the notification includes sound and alert permissions, and the person allows alerts. The system might set this property to `false` if the notification already alerted on another device or if device settings disable alerting for the notification. This property doesn’t account for Focus state; see [`isSuppressedByFocus`](/documentation/AccessoryNotifications/AlertingContext/isSuppressedByFocus) and [`shouldAlert`](/documentation/AccessoryNotifications/AlertingContext/shouldAlert).

---

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)