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
iOS 17.0+ iPadOS 17.0+ macOS 14.0+ watchOS 1.0+ visionOS 1.0+
Tags
SwiftUI Code
Text("Foo")
.sheet(isPresented: .constant(true)) {
StoreView(ids: ["auto_renewable_subscription_1", "non_consumable_1"])
.storeButton(.visible, for: .cancellation)
}Found an issue or have a suggestion?
Created: July 19, 2026Updated: July 19, 2026