init<S>(S, systemImage : String)
Creates a label with a system icon image and a title generated from a string.
Available when
Title
is Text
and Icon
is Image
.Availability 有効性
Technology
init(_ titleKey: LocalizedStringKey
, systemImage name: String
)
Title
is Text
and Icon
is Image
.titleKey
A title generated from a localized string.
systemImage
The name of the image resource to lookup.
init<S>(S, systemImage : String)
Title
is Text
and Icon
is Image
.