---
title: isPriority
framework: corespotlight
role: symbol
role_heading: Instance Property
path: corespotlight/cssearchableitemattributeset/ispriority
---

# isPriority

A Boolean value that indicates whether the mail or messages content represents a prioritized item.

## Declaration

```swift
var isPriority: NSNumber? { get }
```

## Mentioned in

Generating summary and priority data for indexed items

## Discussion

Discussion During indexing, Apple Intelligence sets this property to 1 for any SMS content that requires priority classification. Use this property to prioritize the associated item’s content.

## See Also

### Handling Apple Intelligence prioritization and summarization

- [textContentSummary](corespotlight/cssearchableitemattributeset/textcontentsummary.md)
- [transcribedTextContent](corespotlight/cssearchableitemattributeset/transcribedtextcontent.md)
