Contents

subscriptionStoreControlStyle(_:placement:)

Sets the control style and control placement for subscription store views within a view.

Declaration

nonisolated func subscriptionStoreControlStyle<S>(_ style: S, placement: S.Placement) -> some View where S : SubscriptionStoreControlStyle

Parameters

  • style:

    The subscription store control style to use when drawing the subscription controls of Subscriptionstoreview instances within a view.

  • placement:

    The desired region of the subscription store view for placing the subscription controls.

Discussion

This modifier sets the style and placement of the subscription controls in any SubscriptionStoreView instance within a view.

See Also

Interacting with the App Store and Apple Music