In this video, we go over how to add in-app purchases to your iOS app using the Swift language. The steps are as follows:
1) Create Apple Developer Account
2) Register App on Developer Website
3) Add App on App Store Connect
4) Enable In-App Purchases in Xcode
5) Create let constant for Product ID
6) Import StoreKit & Add SKPaymentTransaction Protocol
7) Add Self as PaymentQueue
8) Create payment transaction method
9) Check if user can make payments
10) Add payment request method
Please keep in mind you MUST have a developer account with Apple to do in-app purchases. This costs $99/year.
Download the completed project here: https://github.com/mgm720/InAppPurcha...
Twitter: / milesoftweets
Instagram: / michaelmilestv
Swift Life Podcast: https://anchor.fm/michael-miles04