---
title: "recommended(excluding:including:)"
framework: avkit
role: symbol
role_heading: Type Method
path: "avkit/avexperiencecontroller/experiences/recommended(excluding:including:)"
---

# recommended(excluding:including:)

Returns the recommended set of experiences.

## Declaration

```swift
static func recommended<C>(excluding: C = [], including: C = []) -> AVExperienceController.Experiences where C : Collection, C.Element == AVExperienceController.Experience
```

## Parameters

- `excluding`: The experiences to remove. Removal happens before adding.
- `including`: The experiences to add. Redundant items are ignored.

## Discussion

Discussion Use this method to return the default recommended set of experiences for each platform and SDK version. Include or exclude experiences specifically desired or not supported by your app.

## See Also

### Defining experiences

- [only(_:)](avkit/avexperiencecontroller/experiences/only(_:).md)
