systemImageName
TypeScriptget systemImageName(): stringSwift declarationvar systemImageName: StringThe name of the icon you use on the button.
struct · iOS 26.0+ · SDK 27.1
struct AlarmButtonA struct that defines the appearance of buttons. The following example uses `AlarmButton` to define the appearance of the alarm. ```swift let alert = AlarmPresentation.Alert( title: "Eggs are ready!", secondaryButton: AlarmButton(text: "Repeat", textColor: .blue, systemImageName: "repeat"), secondaryButtonBehavior: .countdown) ```
get systemImageName(): stringSwift declarationvar systemImageName: StringThe name of the icon you use on the button.
set systemImageName(value: string)Swift declarationvar systemImageName: StringThe name of the icon you use on the button.
static init(text: _Foundation_LocalizedStringResource, textColor: _SwiftUICore_Color, systemImageName: string): AlarmButtonSwift declarationinit(text: LocalizedStringResource, textColor: Color, systemImageName: String)Creates an alarm button. - Parameters: - text: The text for a label on the button. - textColor: The color for the text on the button. - systemImageName: The name of the icon you use on the button.
get text(): _Foundation_LocalizedStringResourceSwift declarationvar text: LocalizedStringResourceText to show in a label on the button.
set text(value: _Foundation_LocalizedStringResource)Swift declarationvar text: LocalizedStringResourceText to show in a label on the button.
get textColor(): _SwiftUICore_ColorSwift declarationvar textColor: ColorThe color for the text on the button.
set textColor(value: _SwiftUICore_Color)Swift declarationvar textColor: ColorThe color for the text on the button.
No declarations were skipped in this snapshot.