Contents

isFamilyShareable

A Boolean value that indicates whether the product is available for Family Sharing in App Store Connect.

Declaration

var isFamilyShareable: Bool { get }

Mentioned in

Discussion

Check the value of isFamilyShareable to learn whether an in-app purchase is sharable with the family group.

// Determine whether an in-app purchase supports Family Sharing.
let myProduct: SKProduct = getProductWithId(id: "com.example.product_identifier")
if myProduct.isFamilyShareable {
    print("Product can be shared with family group.")
}

When displaying in-app purchases in your app, indicate whether the product includes Family Sharing to help customers make a selection that best fits their needs.

Configure your in-app purchases to allow Family Sharing in App Store Connect. For more information about setting up Family Sharing, see Turn-on Family Sharing for in-app purchases.

See Also

Family Sharing