Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/108.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
iOS 14:重新购买时自动续费订阅的IAP应成功还是失败?_Ios_In App Purchase_Storekit_Ios14 - Fatal编程技术网

iOS 14:重新购买时自动续费订阅的IAP应成功还是失败?

iOS 14:重新购买时自动续费订阅的IAP应成功还是失败?,ios,in-app-purchase,storekit,ios14,Ios,In App Purchase,Storekit,Ios14,我目前正在使用Sandbox帐户测试自动续费订阅的IAP,如下所示: 购买自动续费订阅 在有效期内再次购买订阅 SKPaymentTransactionStatePurchasing到达 弹出窗口显示“您当前已订阅”,带有“管理”和“确定”按钮 到目前为止,这是iOS 13和iOS 14的常见行为。但是,当点击“确定”按钮时,流程将以如下方式继续: 监督厅13: 购买失败,因为SKPaymentTransactionStateFailed随SKErrorPaymentCancelled iO

我目前正在使用Sandbox帐户测试自动续费订阅的IAP,如下所示:

  • 购买自动续费订阅
  • 在有效期内再次购买订阅
  • SKPaymentTransactionStatePurchasing到达
  • 弹出窗口显示“您当前已订阅”,带有“管理”和“确定”按钮
  • 到目前为止,这是iOS 13和iOS 14的常见行为。但是,当点击“确定”按钮时,流程将以如下方式继续:

    监督厅13:

    • 购买失败,因为
      SKPaymentTransactionStateFailed
      SKErrorPaymentCancelled
    iOS 14:

    • SKPaymentTransactionStatePurchased
      到达时,采购成功
    有人能确认这是iOS 14上的新行为吗