继承 符合
The SKPayment class defines a request to the Apple App Store to process payment for additional functionality offered by your application. A payment encapsulates a string that identifies a particular product and the quantity of those items the user would like to purchase.的skpayment类定义了苹果App Store的应用程序提供附加功能处理支付请求。付款将字符串,标识一个特定的产品,这些物品的用户愿意购买的数量。 DeclarationSWIFT
OBJECTIVE-C
Parameters
Return ValueA new payment object. DiscussionThis factory method uses the To create a product :用户希望购买的产品。 返回值:一种新的支付对象。 讨论 本厂采用从产品参数创建并返回一个新的支付与productidentifier属性标识符。数量属性默认为1。 创建一个大于1的数量skpayment对象,创建一个skmutablepayment对象,调整其quantity数量属性然后将它添加到付款队列. .
AvailabilityAvailable in iOS 3.0 and later. _____________________________________ SKProduct
________________________________________________________ |
|