<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/SKOverlay/AppConfiguration/init(appIdentifier:position:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SKOverlayAppConfiguration(im)initWithAppIdentifier:position:"
  },
  "title" : "init(appIdentifier:position:)"
}
-->

# init(appIdentifier:position:)

Creates an object that represents the attributes of an overlay you use to recommend another app on the App Store.

```
init(appIdentifier: String, position: SKOverlay.Position)
```

## Parameters

`appIdentifier`

The iTunes identifier of the recommended app.

`position`

The position of the overlay on the screen.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)