init(_:systemImage:description:)
Creates an interface, consisting of a title generated from a localized string, a system icon image and additional content, that you display when the content of your app is unavailable to users.
Declaration
nonisolated init(_ title: LocalizedStringKey, systemImage name: String, description: Text? = nil)Parameters
- title:
A title generated from a localized string.
- name:
The name of the system symbol image resource to lookup. Use the SF Symbols app to look up the names of system symbol images.
- description:
The view that describes the interface.