Contents

productViewStyle(_:)

Sets the style for In-App Purchase product views within a view.

Declaration

nonisolated func productViewStyle(_ style: some ProductViewStyle) -> some View

Parameters

  • style:

    The style to apply to the in-app purchase product views within the view.

Discussion

This modifier styles any ProductView or StoreView instances within a view.

See Also

Interacting with the App Store and Apple Music