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
版权声明:本文标题:ios - SKPaymentQueue.default().storefront?.countryCode returns incorrect value - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744769024a2624223.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论