Implementing offer codes in your app | Apple Developer DocumentationProvide subscription service for customers who redeem offer codes through the App Store or within an app that uses receipts.Apple Developer Documentation
如果客户使用的设备运行 iOS 14、iPadOS 14、macOS 15 或更高版本,并且您的应用支持相应的 StoreKit 方法,则可在应用内兑换。
在您的应用中包含兑换页面是推荐的,但非强制要求。
在应用内实现代码兑换功能
为您的“兑换”按钮创建一个用户界面,用户可以在此界面上兑换他们的代码。