Restore Purchases Button

A type of button that people use to restore purchases.

Restore Purchases Button - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview

Platform Compatibility

iOS 17.0+ iPadOS 17.0+ macOS 14.0+ watchOS 1.0+ tvOS 17.0+ visionOS 1.0+

Tags

SwiftUI Code

Docs
StoreView(ids: ["auto_renewable_subscription_1", "non_consumable_1"])
    .storeButton(.visible, for: .restorePurchases)

Found an issue or have a suggestion?

Created: July 19, 2026Updated: July 19, 2026

More StoreView Components

View all
Store Cancellation Button - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview
modifier

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.

Icon Phase Store View - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview
initializer

Icon Phase Store View

Creates a view to load a collection of products from the App Store using product identifiers, and merchandise them using their promotional images and a custom placeholder icon.

Placeholder Icon Store View - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview
initializer

Placeholder Icon Store View

Creates a view to load a collection of products from the App Store using product identifiers, and merchandise them using an image and a custom placeholder icon.

Custom Icon Store View - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview
initializer

Custom Icon Store View

Creates a view to load a collection of products from the App Store using product identifiers, and merchandise them using a custom image.

Store View - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview
initializer

Store View

Creates a view to load and merchandise a collection of products from the App Store using product identifiers. Internally, ProductView is used, and therefore productViewStyle can also be applied here.

Explore Other Components

Browse all
Button Styles - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview
style

Button Styles

A type that applies standard interaction behavior and a custom appearance to all buttons within a view hierarchy

Group Subscription Store View - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview
initializer

Group Subscription Store View

Creates a view that loads all subscriptions in a subscription group from the App Store, and merchandises them with automatic marketing content.

ControlSize - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview
modifier

ControlSize

A control version that is the default size

MultiDatePicker - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview
initializer

MultiDatePicker

A control for picking multiple dates.

Hidden List Section Separator - iOS on iPhone - Portrait - Flat Design - Light Mode - Preview
modifier

Hidden List Section Separator

Sets whether to hide the separator associated with a list section.

Navigation Split View Container Background - iPadOS - Landscape - Liquid Glass - Light Mode - Preview
modifier

Navigation Split View Container Background

A background placement behind the content of a NavigationSplitView.

ShareLink - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview
initializer

ShareLink

A view that controls a sharing presentation

 LinearGaugeStyle - iOS on iPhone - Portrait - Flat Design - Light Mode - Preview
style

LinearGaugeStyle

A gauge style that displays a bar with a marker that appears at a point along the bar to indicate the gauge’s current value