Contents

eligibleURLs

An array of external purchase links for the current storefront that the app configured and from which it chooses.

Declaration

static var eligibleURLs: [URL]? { get async }

Discussion

Use this property if your app configures the SKExternalPurchaseMultiLink property list key.

Use the eligibleURLs to get the array of external purchase links for the current storefront that your app has configured in the SKExternalPurchaseMultiLink property list key. Your app can select from any of the eligible URLs. Call open(url:) with the URL you choose.

The eligibleURLs array is nil if any of the following is true:

If this value is nil and your app also configures the SKExternalPurchaseLink property list key, check canOpen to determine whether your app can continue to provide an external purchase link.

Otherwise, if this value is nil, check canMakePayments to determine whether your app can offer in-app purchases using the StoreKit In-App Purchase APIs. For more information, see canMakePayments.

See Also

Getting multiple external purchase links