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
appStoreOverlay(isPresented:configuration:)manageSubscriptionsSheet(isPresented:)refundRequestSheet(for:isPresented:onDismiss:)offerCodeRedemption(isPresented:onCompletion:)musicSubscriptionOffer(isPresented:options:onLoadCompletion:)currentEntitlementTask(for:priority:action:)inAppPurchaseOptions(_:)manageSubscriptionsSheet(isPresented:subscriptionGroupID:)onInAppPurchaseCompletion(perform:)onInAppPurchaseStart(perform:)productIconBorder()productDescription(_:)storeButton(_:for:)storeProductTask(for:priority:action:)storeProductsTask(for:priority:action:)