From documentation:
Display a Placeholder Widget and Hide Sensitive Data
A placeholder view is a generic visual representation with no specific content. When WidgetKit renders your widget, it may need to render your content as a placeholder; for example, while you load data in the background. It generates the placeholder using the redacted(reason:) view modifier with reason set to placeholder. This setting automatically renders the widget’s views in a way appropriate for use as a placeholder. To opt out of rendering as a placeholder and control which of your widget’s views appear redacted to hide sensitive information, use the unredacted() view modifier in the redacted(reason:) callback.
Topic:
App & System Services
SubTopic:
Core OS
Tags: