<!--
{
  "availability" : [
    "iOS: 18.1.0 -",
    "iPadOS: 18.1.0 -",
    "macOS: 15.1.0 -",
    "tvOS: 18.1.0 -",
    "visionOS: 2.1.0 -",
    "watchOS: 11.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/ExternalPurchaseCustomLink/showNotice(type:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "s:8StoreKit26ExternalPurchaseCustomLinkO10showNotice4typeAC0H6ResultOAC0H4TypeO_tYaKFZ"
  },
  "title" : "showNotice(type:)"
}
-->

# showNotice(type:)

Displays the system disclosure notice sheet and asks the customer whether to continue.

```
static func showNotice(type: ExternalPurchaseCustomLink.NoticeType) async throws -> ExternalPurchaseCustomLink.NoticeResult
```

## Parameters

`type`

An [`ExternalPurchaseCustomLink.NoticeType`](/documentation/StoreKit/ExternalPurchaseCustomLink/NoticeType) value you select that determines the disclosure sheet the system displays.

## Return Value

Returns [`ExternalPurchaseCustomLink.NoticeResult.continued`](/documentation/StoreKit/ExternalPurchaseCustomLink/NoticeResult/continued) to indicate the customer chooses to continue, or [`ExternalPurchaseCustomLink.NoticeResult.cancelled`](/documentation/StoreKit/ExternalPurchaseCustomLink/NoticeResult/cancelled) to indicate the customer chooses not to continue to view external purchases. This method throws an error if your app isn’t eligible, at runtime, to use this API.

## Discussion

Use this method if your app configures the <doc://com.apple.documentation/documentation/BundleResources/Information-Property-List/SKExternalPurchaseCustomLinkRegions> or <doc://com.apple.documentation/documentation/BundleResources/Information-Property-List/SKExternalPurchaseLinkStreamingRegions> property list keys.

Call this method to display the system disclosure sheet before your app continues to communicate and promote offers for purchase in a distribution channel of your choice. Call this method in response to a deliberate customer action, such as tapping a button.

Select the notice type based on how your app communicates the offers if the customer chooses to continue:

- Use [`ExternalPurchaseCustomLink.NoticeType.browser`](/documentation/StoreKit/ExternalPurchaseCustomLink/NoticeType/browser) if the app goes to the background, and promotes offers in a destination outside of the app.
- Use [`ExternalPurchaseCustomLink.NoticeType.withinApp`](/documentation/StoreKit/ExternalPurchaseCustomLink/NoticeType/withinApp) if the app promotes offers in a web view or native experience within the app.

Continue to communicate and promote offers if [`showNotice(type:)`](/documentation/StoreKit/ExternalPurchaseCustomLink/showNotice(type:)) returns [`ExternalPurchaseCustomLink.NoticeResult.continued`](/documentation/StoreKit/ExternalPurchaseCustomLink/NoticeResult/continued); otherwise don’t continue.

For example code that calls this method, see [`ExternalPurchaseCustomLink`](/documentation/StoreKit/ExternalPurchaseCustomLink).

---

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)