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