Modifiers
widgetAccentedRenderingMode
Specifies how to render an Image when using the WidgetKit/WidgetRenderingMode/accented mode.
widgetAccentedRenderingMode(renderingMode)
| Parameter | Type | Description |
|---|---|---|
renderingMode | 'fullColor' | 'accented' | 'desaturated' | 'accentedDesaturated' | A constant describing how the Image should be rendered. |
Specifies how to render an Image when using the WidgetKit/WidgetRenderingMode/accented mode.
Returns: ModifierConfig
See: Official SwiftUI documentation.
Works with
Sources
The original Expo docs for this page:
- widgetAccentedRenderingMode (Modifiers) (
source-of-truth/versions/v57.0.0/sdk/ui/swift-ui/modifiers.md)
unredacted
Removes any redaction reason inherited from an ancestor redacted(...) for this subtree. The counterpart to redacted; use it to exempt specific content from a redacted parent. Maps to SwiftUI's unredacted().
widgetURL
Sets the URL to open in the containing app when the user clicks the widget. Widgets support one widgetURL modifier in their view hierarchy. If multiple views have widgetURL modifiers, the behavior is undefined.