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