init(configuration:)
Creates an overlay you use to recommend another app on the App Store.
Declaration
init(configuration: SKOverlay.Configuration)Parameters
- configuration:
The object that represents the overlay’s attributes; for example, its position on the screen.
Discussion
Pass an SKOverlay.AppConfiguration as the configuration parameter if you want to display the overlay in an app. To recommend an App Clip’s corresponding app, pass an SKOverlay.AppClipConfiguration object to the initializer. For more information, see Recommending your app to App Clip users.