One Logo Pool Ball
_StoreKit_SwiftUI · IOS API REFERENCE

SubscriptionStorePolicyKind

struct · iOS 17.0+ · SDK 27.1

struct SubscriptionStorePolicyKind

A value that describes a link style button to a subscription policy. Use ``subscriptionStorePolicyDestination(url:for:)`` or ``subscriptionStorePolicyDestination(for:destination:)`` to set the destination when someone chooses to view the corresponding policy in a ``SubscriptionStoreView``.

Members (2)

get · iOS 17.0+

privacyPolicy

TypeScript
static get privacyPolicy(): SubscriptionStorePolicyKind
Swift declaration
static var privacyPolicy: SubscriptionStorePolicyKind { get }

The privacy policy of a subscription. If you show the policy buttons using ``storeButton(_:for:)`` without setting a destination for the privacy policy, the system will automatically display the privacy policy from the App Store metadata for your app. On iOS and macOS, the system will prefer opening the privacy policy URL, and on watchOS and tvOS the system will prefer displaying the privacy policy text.

get · iOS 17.0+

termsOfService

TypeScript
static get termsOfService(): SubscriptionStorePolicyKind
Swift declaration
static var termsOfService: SubscriptionStorePolicyKind { get }

The terms of service of a subscription. If you show the policy buttons using ``storeButton(_:for:)`` without setting a destination for the terms of service, the system will automatically display the EULA text from the App Store metadata for your app.

Skipped declarations

No declarations were skipped in this snapshot.

All _StoreKit_SwiftUI types →