Store Cancellation Button
A type of button that people use to dismiss the current store presentation. It is displayed by default and only works in a sheet.
Platform Compatibility
Tags
SwiftUI Code
Text("Foo")
.sheet(isPresented: .constant(true)) {
StoreView(ids: ["auto_renewable_subscription_1", "non_consumable_1"])
.storeButton(.visible, for: .cancellation)
}