---
title: allowInCarPlay
framework: usernotifications
role: symbol
role_heading: Type Property
path: usernotifications/unnotificationcategoryoptions/allowincarplay
---

# allowInCarPlay

Allow CarPlay to display notifications of this type.

## Declaration

```swift
static var allowInCarPlay: UNNotificationCategoryOptions { get }
```

## Discussion

Discussion Apps must be approved for CarPlay overall and then you must enable CarPlay for the notification types you want displayed. If a category doesn’t explicitly contain this option, notifications of that type aren’t displayed in a CarPlay environment.

## See Also

### Customizing a category

- [allowAnnouncement](usernotifications/unnotificationcategoryoptions/allowannouncement.md)
