One Logo Pool Ball
_StoreKit_SwiftUI · IOS API REFERENCE

SubscriptionStoreButtonLabel

struct · iOS 17.0+ · SDK 27.1

struct SubscriptionStoreButtonLabel

The label of a subscribe button used by a subscription store view. You can configure ``SubscriptionStoreView`` instances within a view to use a certain button label by modifying the view with ``subscriptionStoreButtonLabel(_:)``. You can compose label preferences into one value, for example you could create a value that prefers to display an action verb and the price of the subscription as two lines within the same label by spelling `.multiline.action`.

Members (11)

get · iOS 17.0+

singleLine

TypeScript
get singleLine(): SubscriptionStoreButtonLabel
Swift declaration
var singleLine: SubscriptionStoreButtonLabel { get }

A button label that prefers to keep to a single line.

get · iOS 17.0+

singleLine

TypeScript
static get singleLine2388(): SubscriptionStoreButtonLabel
Swift declaration
static var singleLine: SubscriptionStoreButtonLabel { get }

A button label that prefers to keep to a single line.

get · iOS 17.0+

displayName

TypeScript
get displayName(): SubscriptionStoreButtonLabel
Swift declaration
var displayName: SubscriptionStoreButtonLabel { get }

A button label that prefers to primarily display the plan's display name.

get · iOS 17.0+

displayName

TypeScript
static get displayName4722(): SubscriptionStoreButtonLabel
Swift declaration
static var displayName: SubscriptionStoreButtonLabel { get }

A button label that prefers to primarily display the plan's display name.

get · iOS 17.0+

price

TypeScript
get price(): SubscriptionStoreButtonLabel
Swift declaration
var price: SubscriptionStoreButtonLabel { get }

A button label that prefers to primarily display the plan's price.

get · iOS 17.0+

price

TypeScript
static get price36425(): SubscriptionStoreButtonLabel
Swift declaration
static var price: SubscriptionStoreButtonLabel { get }

A button label that prefers to primarily display the plan's price.

get · iOS 17.0+

action

TypeScript
get action(): SubscriptionStoreButtonLabel
Swift declaration
var action: SubscriptionStoreButtonLabel { get }

A button label that prefers to primarily display an action verb, like "Subscribe".

get · iOS 17.0+

action

TypeScript
static get action6483(): SubscriptionStoreButtonLabel
Swift declaration
static var action: SubscriptionStoreButtonLabel { get }

A button label that prefers to primarily display an action verb, like "Subscribe".

get · iOS 17.0+

automatic

TypeScript
static get automatic(): SubscriptionStoreButtonLabel
Swift declaration
static var automatic: SubscriptionStoreButtonLabel { get }

A context appropriate label automatically determined by the system.

get · iOS 17.0+

multiline

TypeScript
get multiline(): SubscriptionStoreButtonLabel
Swift declaration
var multiline: SubscriptionStoreButtonLabel { get }

A button label that prefers to display two lines.

get · iOS 17.0+

multiline

TypeScript
static get multiline93459(): SubscriptionStoreButtonLabel
Swift declaration
static var multiline: SubscriptionStoreButtonLabel { get }

A button label that prefers to display two lines.

Skipped declarations

No declarations were skipped in this snapshot.

All _StoreKit_SwiftUI types →