<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INDailyRoutineRelevanceProvider",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INDailyRoutineRelevanceProvider"
  },
  "title" : "INDailyRoutineRelevanceProvider"
}
-->

# INDailyRoutineRelevanceProvider

The provider class that specifies a relevant daily routine.

```
class INDailyRoutineRelevanceProvider
```

## Overview

Ask the user for permission to use their location before providing shortcuts to [`INRelevantShortcutStore`](/documentation/Intents/INRelevantShortcutStore) that include a daily routine relevance provider. If the user gives your app permission to access their location Always, shortcuts your app provides can influence widget stacks.

## Topics

### Creating a Daily Routine Relevance Provider

[`init(situation: INDailyRoutineRelevanceProvider.Situation)`](/documentation/Intents/INDailyRoutineRelevanceProvider/init(situation:))

Creates a daily routine relevance provider with the specified situation.

### Getting the Situation

[`var situation: INDailyRoutineRelevanceProvider.Situation`](/documentation/Intents/INDailyRoutineRelevanceProvider/situation-swift.property)

The relevant daily routine situation for the provider.

[`enum Situation`](/documentation/Intents/INDailyRoutineRelevanceProvider/Situation-swift.enum)

Daily situations for a relevance provider.

## Relationships

### Conforms To

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`Hashable`](/documentation/Swift/Hashable)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Equatable`](/documentation/Swift/Equatable)

### Inherits From

[`INRelevanceProvider`](/documentation/Intents/INRelevanceProvider)

---

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)