iPhone SwiftUI layouts
Explore SwiftUI APIs, components, and modifiers with interactive iPhone previews, Swift code, and Apple documentation. Compare every available orientation, appearance, and design.
201elements
View
App Store Overlay
Presents a StoreKit overlay when a given condition is true.
Explore App Store Overlay on iPhone in portrait, with SwiftUI code and Apple API documentation.
SwiftUI code
@State var showAppStoreOverlay = false
var body: some View {
Button("Manage subscriptions") {
showAppStoreOverlay = true
}
.appStoreOverlay(isPresented: $showAppStoreOverlay) {
SKOverlay.AppConfiguration(appIdentifier: "1234567890", position: .bottom)
}
}Compatibility
iOS 14.0+ iPadOS 14.0+ visionOS 1.0+
Tags
Found an issue or have a suggestion?
All variants
Every available iPhone screenshot for App Store Overlay.