One Logo Pool Ball
_AppIntents_SwiftUI · IOS API REFERENCE

ShortcutsLinkStyle

struct · iOS 16.0+ · SDK 27.1

struct ShortcutsLinkStyle

The styles to apply to buttons you use to open your app's page in the Shortcuts app. Specify a ``ShortcutsLinkStyle`` value when you add a ``ShortcutsUIButton`` or ``ShortcutsLink`` type to your interface. For the ``ShortcutsLink`` type, specify the style using the ``AppIntents/ShortcutsLink/shortcutsLinkStyle(_:)`` modifier.

Members (6)

get · iOS 16.0+

darkOutline

TypeScript
static get darkOutline(): ShortcutsLinkStyle
Swift declaration
static let darkOutline: ShortcutsLinkStyle

A button style that applies a dark background with light text along with a light outline.

get · iOS 16.0+

lightOutline

TypeScript
static get lightOutline(): ShortcutsLinkStyle
Swift declaration
static let lightOutline: ShortcutsLinkStyle

A button style that applies a light background with dark text along with a dark outline.

get · iOS 16.0+

automaticOutline

TypeScript
static get automaticOutline(): ShortcutsLinkStyle
Swift declaration
static let automaticOutline: ShortcutsLinkStyle

The default button style with an outline, based on the current color scheme.

get · iOS 16.0+

dark

TypeScript
static get dark(): ShortcutsLinkStyle
Swift declaration
static let dark: ShortcutsLinkStyle

A button style that applies a dark background with light text.

get · iOS 16.0+

light

TypeScript
static get light(): ShortcutsLinkStyle
Swift declaration
static let light: ShortcutsLinkStyle

A button style that applies a light background with dark text.

get · iOS 16.0+

automatic

TypeScript
static get automatic(): ShortcutsLinkStyle
Swift declaration
static let automatic: ShortcutsLinkStyle

The default button style, based on the current color scheme.

Skipped declarations

No declarations were skipped in this snapshot.

All _AppIntents_SwiftUI types →