我使用SwiftyStoreKit实现应用程序内购买,但当我尝试恢复产品时,我没有获得我的汽车可再生产品的到期日期,
即
SwiftyStoreKit.restorePurchases(atomically: true) { results in
if results.restoreFailedPurchases.count > 0 {
print("Restore Failed: \(results.restoreFailedPurchases)")
}
else if results.restoredPurchases.count > 0 {
print("Restore Success: \(results.restoredPurchases)")
}
else {
let subscriptionText = "Nothing to Restore"
self.subscriptionTitle.text = subscriptionText
}
}
感谢。