---
title: invalidateConfigurationRecommendations()
framework: widgetkit
role: symbol
role_heading: Instance Method
path: widgetkit/widgetcenter/invalidateconfigurationrecommendations()
---

# invalidateConfigurationRecommendations()

Invalidates and refreshes the preconfigured intent configurations for user-customizable widgets.

## Declaration

```swift
func invalidateConfigurationRecommendations()
```

## Mentioned in

Making a configurable widget

## Discussion

Discussion In watchOS, call this function when your app receives new data for preconfigured widgets you’d like to appear in the list of available watch complications. note: On platforms that offer a dedicated user interface for configuring widgets — for example, iOS or macOS — invalidateConfigurationRecommendations() is inactive.
