widgetConfigurationIntent(of:)
Gets the associated App Intent.
Declaration
func widgetConfigurationIntent<Intent>(of intentType: Intent.Type = Intent.self) -> Intent? where Intent : WidgetConfigurationIntentParameters
- intentType:
The expected type for the App Intent.
Mentioned in
Return Value
An App Intent that contains the user-edited values or nil if there is no associated App Intent or the type does not match intentType.