One Logo Pool Ball
_StoreKit_SwiftUI · IOS API REFERENCE

SubscriptionStoreControlBackground

struct · iOS 17.0+ · SDK 27.1

struct SubscriptionStoreControlBackground

The background layer below the subscribe controls, and above any background in an in-app subscription store. Use the ``subscriptionStoreControlBackground(_:)`` modifier to configure the control background style for subscription stores within a view. You can also use some `ShapeStyle` value instead of one of these styles.

Members (3)

get · iOS 17.0+

gradientMaterial

TypeScript
static get gradientMaterial(): SubscriptionStoreControlBackground
Swift declaration
static var gradientMaterial: SubscriptionStoreControlBackground { get }

A material background, where the material effect fades into the background.

get · iOS 17.0+

gradientMaterialOnScroll

TypeScript
static get gradientMaterialOnScroll(): SubscriptionStoreControlBackground
Swift declaration
static var gradientMaterialOnScroll: SubscriptionStoreControlBackground { get }

A gradient material background which only appears after someone scrolls the subscription store.

get · iOS 17.0+

automatic

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

An automatic control background, based on the subscription store's context.

Skipped declarations

No declarations were skipped in this snapshot.

All _StoreKit_SwiftUI types →