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