Implementing In-App Purchases with StoreKit2 in Xcode 13 - 15 using SwiftUI, Swift 5.7 - 5.9, iOS 15 - 17 and macOS 12 - 14. Also supports tvOS and visionOS.
MIT License
410
stars
48
forks
source link
Use system format for subscription price display #78
We can use
Product.SubscriptionPeriod
'sformatted
method to display price.https://developer.apple.com/documentation/storekit/product/subscriptionperiod/4044346-formatted
This PR also simplifies code structure/