admin管理员组

文章数量:1391793

I'm working on an iOS app (Swift) that uses StoreKit to handle in-app purchases. I need to determine the user's App Store region using SKPaymentQueue.default().storefront?.countryCode. However, it consistently returns the same country code even after switching to different App Store accounts/country.

  • Restarting the device.
  • Uninstalling/reinstalling the app.
  • Waiting >24 hours (to rule out Apple-side caching).
  • Using both sandbox and real test accounts.
  • Confirming the country change works correctly in other apps.

本文标签: iosSKPaymentQueuedefault()storefrontcountryCode returns incorrect valueStack Overflow