Contents

hasCurrentEntitlement

A Boolean value that indicates whether an in-app purchase transaction exists for the product.

Declaration

let hasCurrentEntitlement: Bool

Discussion

Use the hasCurrentEntitlement property to determine whether a purchase may succeed, for a porduct that people can purchase only once. For example, if hasCurrentEntitlement is false, you may choose not to display a purchase button for the product, because the person has already purchased it.

See Also

Getting a product’s information