appStoreMerchandising(isPresented:kind:onDismiss:)
Display a merchandising view.
Declaration
nonisolated func appStoreMerchandising(isPresented: Binding<Bool>, kind: AppStoreMerchandisingKind, onDismiss: ((Result<AppStoreMerchandisingKind.PresentationResult, any Error>) async -> ())? = nil) -> some View
Parameters
- isPresented:
A binding to a Boolean value that determines whether the App Store merchandising view is presented.
- kind:
The merchandising kind to merchandise.
- onDismiss:
The closure to execute when the merchandising view is dismissed, with the presetation result of the App Store merchandising view provided as a parameter.