Join Ron Buencamino for an in-depth discussion in this video A look at the finished app, part of Implementing In-App Purchases in iOS with Swift.
- View Offline
- [Voiceover] Before we get started, let's take a look at the app that we will build. The app is called NoteTaker, and it is used to help us keep track of notes for students at Rue Academy. We will include the ability to add pictures to our notes, as well as offer a cloud backup service so that users can save their notes to the internet. So I'll come into a note, tap on the camera, and be informed that we can include new functionality. When I tap Learn More, it'll bring up the store, where I can choose to purchase any item.
When I do, it'll ask me to sign in and start the in-app purchase process. I can then use my iTunes account to complete the purchase. We can go ahead and work with both consumable and non-consumable purchases, as well as subscriptions. It's important to note that we aren't building those specific functionalities or services into the app. We're just looking at how we can implement the in-app purchase process to make those products available.
First, learn what you can legitimately offer for sale in the App Store. Apple's guidelines restrict the sale of certain products, including real-world goods. Next, learn how to configure new products for sale with iTunes Connect and retrieve the product information in your app. Ron then shows how to request and process payments, and deliver the user's purchases to their iOS device. There are separate chapters for working with subscriptions and restoring purchased content when users have to reinstall the app—a smart strategy for keeping your app rating high.
- What you can and can't sell in the App Store
- Creating products in iTunes Connect
- Retrieving product information
- Requesting payments in your app
- Processing App Store transactions
- Delivering products to your app
- Working with subscriptions
- Restoring purchased content