Deprecated SKPayment Methods
A method identified as deprecated has been superseded and may become unsupported in the future.
Deprecated in iOS 5.0
A string that identifies the item to be purchased.
A new payment object.
The product identifier is a string previously agreed on between your application and the Apple App Store. The quantity property defaults to
To create a
SKPayment object with a quantity greater than
1, create a
SKMutablePayment object, adjust its
quantity property and then add it to the payment queue:
SKMutablePayment *myPayment = [SKMutablePayment paymentWithProductIdentifier: myIdentifier];
myPayment.quantity = 2;
[[SKPaymentQueue defaultQueue] addPayment:myPayment];
- Available in iOS 3.0 and later.
- Deprecated in iOS 5.0.