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…
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…
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…
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. 产品是你想要在应用商店里出售的东西.…
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…
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…
Custom Layouts: A Worked Example Creating a custom collection view layout is simple with straightforward requirements, but the implementation details of the process may vary. Your layout must produce layout attributes objects for every view your coll…
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…
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. 首先,购买产…
View Controller Basics Apps running on iOS–based devices have a limited amount of screen space for displaying content and therefore must be creative in how they present information to the user. Apps that have lots of information to display must there…