Requesting Payment In the second part of the purchase process, after the user has chosen to purchase a particular product, your app submits a payment request to the App Store, as shown in Figure 3-1. 购买过程的第二步是,在用户已经选择好要购买的产品后,你的应用程序向应用商店提交一个支付请求,如下图:…
Restoring Purchased Products Users restore transactions to maintain access to content they’ve already purchased. For example, when they upgrade to a new phone, they don’t lose all of the items they purchased on the old phone. Include some mechanism i…
Introduction In-App Purchase is an Apple technology that allows your users to purchase content and services from within your app. You set up In-App Purchase products through iTunes Connect, a suite of web-based tools. You implement In-App Purchase in…
Designing Your App’s Products A product is something you want to sell in your app’s store. You create and configure products in iTunes Connect, and your app interacts with products using the SKProduct and SKProductsRequest classes. 产品是你想要在应用商店里出售的东西.…
Preparing for App Review After you finish testing, you’re ready to submit your app for review. This chapter highlights a few tips to help you through the review process. 当你完成测试以后,就表示已经准备好提交应用以供审核. 该章节重点介绍了一些提示来帮助你通过审核过程. Submitting Products for Revie…
Views Because view objects are the main way your application interacts with the user, they have many responsibilities. Here are just a few: 因为视图对象是应用程序跟用户交互的主要方式,所以它们有很多责任.以下是其中一小部分: Layout and subview management 布局和子视图管理 A view defines its own defau…
About In-App Purchase In-App Purchase allows you to embed a store inside your app using the Store Kit framework. This framework connects to the App Store on your app’s behalf to securely process payments from users, prompting them to authorize paymen…
Retrieving Product Information In the first part of the purchase process, your app retrieves information about its products from the App Store, presents its store UI to the user, and then lets the user select a product, as shown in Figure 2-1. 首先,购买产…
Working with Subscriptions Apps that use subscriptions have some additional behaviors and considerations. Because subscriptions incorporate an element of time, your app needs to have the appropriate logic to determine whether the subscription is curr…
Delivering Products In the final part of the purchase process, your app waits for the App Store to process the payment request, stores information about the purchase for future launches, downloads the purchased content, and then marks the transaction…