buyProduct(productIdentifier:)
Simulates buying an Apple In-App Purchase or subscription outside the app.
Declaration
func buyProduct(productIdentifier: String) throwsParameters
- productIdentifier:
Product identifier of the Apple In-App Purchase.
Discussion
After calling this function, handle the new transaction in your payment queue.