Hi!
Has anyone a code snipplet for SwiftUI receiving the period of a purchasable Package?
My Code:
1:
@Published var PurchaseablePackages: sPurchases.Package] = ]
2:
ForEach(PurchaseablePackages.indices, id:\.self) { index in
makePurchase(ProductID: PurchaseablePackagesindex].product.productIdentifier)
}, label: {
Text("\(PurchaseablePackagesindex].product.localizedTitle) for
\(PurchaseablePackagesaindex].localizedPriceString) “)
}
}
How can i add “per month” or “once in a LifeTime”?
Thanks
Walter