我如何获得有关用户购买的信息(购买日期,产品ID ...)?
switch (transaction.transactionState) {
case SKPaymentTransactionStatePurchased: {
NSLog(@"user has purchased, %@", transaction);
...
...
答案 0 :(得分:1)
这些是相关的属性:
let purchaseDate = transaction.transactionDate
let transactionId = transaction.transactionIdentifier
let produtId = transaction.payment.productIdentifier